Circumcision question.

Je

Does this procedure happen before you leave the hospital with your newborn? I was able to leave a day early after having my daughter and I'm suddenly wondering when the procedure is done and how soon after will we be able to leave. Also pain relief is standard procedure for the infant... yes? I'm kind of nervous about it and appreciate some insight thank you!