Uninstalling or disabling monitoring apps

What’s the safest way to remove a monitoring app without leaving traces?