High bp and lortab

I have post partum hypertension and my bp is staying High. I just had a c section last week and really need to take my pain meds but heard that could make bp go up and it doesn’t need to anymore! Should I take them?