Ibuprofen and weight loss

12 days in to the weight loss program (8lbs lost Of a goal to lose 26 lbs). I haven’t eaten wheat, sugar or drank alcohol. Day 10 I started to experience mild leg pain. I’ve had this pain before but never figured out the cause. I’m going to see my doctor about this but I’m taking ibuprofen for the pain and it helps. I’m wondering if there’s any reason not to take ibuprofen for hormone interruption, interruption with weight loss or…?