Pain meds

Can u take ibuprofen for pain with depression medicine. I got c section it still hurts but i got prescibed depression meds