Tubal right after delivery?

lala

I have decided that I will be getting a tubal after my second daughter is born and I talked to my doctor about it today and she said they can do it right after I give birth or the next day? Anyone else do it that quickly? Do you have to stay longer in the hospital? How long will I be away from my newborn after surgery? And lastly what did they prescribe for the pain because I plan to breastfeed and want to see what options I can ask for.