How do you repair car vacuum leak?

Depending on where the leak is you just replace the vacuum hose or the bad part the hose is attached to.