Headache or migraine I don't wanna sound stupid about it but just need advice?

So for a while, I would either randomly get a headache or when I wake up just have throbbing/pressure in the front and/or left side of my head. I wanted to get some advice before I went to the doctor just to get an idea? This has been going on for years now. Especially if I don't eat or rest perfectly. I get really sensitive to the light and sound when it happens. I mostly take ibuprofen and take a hot bath to help it mostly.