Deploy the uber if you or your patient is dying, when you're rushing the whole enemy team or when a crit pipebomb flies in your face(if you're fast enough).
The scout annoyances are pretty easy to avoid. Just stay near the soldiers and/or demo in your team so they can help you kill the scout.