First off, that sucks, im sorry to hear that.
Welcome to the team though, we are about 5 of my friends rite now in recovery.
Now about pain meds.
The doctor is the one who will assign what he thinks is best for you, People react differently to medication.
Depending on the degree of pain you have and the allergies(if you have any) he will give you pain medication.
Pain meds suck, the first few days you feel like shit. But after a while you get use to it, Best way to stay positive is to find something to do, like a hobbie, get some guitar classes, start to draw, theres a lot to do.
Oh yea, theres Ns! good source when ur bored. Or you can do like me and make bracelets and raise money for a good cause. :)
Cheer up ! Itll be over before you know it