Medication when breastfeeding

I had a csection 6 days ago and have managed my pain with only ibuprofen and Tylenol, I was prescribed Oxycodone as well but only took it twice the first day I was discharged from the hospital but now I’m having so much pain in the csection scar it hurts to move and I feel nauseous from the discomfort, I just hate to take it when I’m breastfeeding even if my ob prescribed them to me, any suggestions to help with the pain, I can’t sleep it hurts to move