Headache meds

Hannah
I just had my baby 5days ago through c-section. With all the baby blues, tryna breastfeed, no sleep, incision pain and backpain I need something to at least make me feel a little better. Dont want to get sick and have baby sick as well. So, what is the safest headache medication I could take since I am breastfeeding?? I have IBUPROFEN(MOTRIN) will that work??