What medication do they give you for c section?

I’ve never taken pain medicine, aside from over the counter things like Tylenol. I’m afraid to take super strong meds with a new baby. What were you all prescribed and were you ok not taking it?