The long-term solution to all the three type of nervousness is proper constructive training.
When an animal becomes dehydrated while under sedation, its general health and well-being are usually at risk.
Also, if the pet wakes up, feeling alone and confused after sedation, the grossness and panic that may follow is usually much worse than the one you were hoping to avoid.
All in all, dogs can suffer different types of anxiety such as social anxiety, where they tend to become anxious and nervous around humans or other dogs.
One good example of a pre-anesthetic is Diazepam/valium that is mainly used to calm down the dog before surgery.
When administering sedatives and tranquilizers the animals must not be pregnant because the sedatives can lead to birth defects.