Migraines can be very infuriating to have.  They differ from normal headaches in many ways such that they can last 72 hours!  Have you been unlucky to experience one of those?
Yeah they are the worst the pain can get really intense to where you have to take medication
Yeah medication like ibuprofin can alleviate migraines, but also a change in behavior can reduce them too!   Avoid the triggers if you know them.
What can be something that triggers a migrane?
Well it depends on the person.  Unfortunately the underlying mechanisms of migraines are not 100% known, but for me personally overthinking triggers my migraines and poor nutrition (deficiency in magnesium according to my doctor)
Yeah  i always make sure to make my nutrition a priotiry, although migranes dont happen often to me what about youy
Recently I haven't had one in about a year but I'd used to get them about 3 times a week over the course of 2 years.   Changing my lifestyle helped a lot!   
wow that must have been horrible did you take anything to reduce the pain?
Yes I tried ibuprofen, acetaminophen (I believe that's tylenol), and also various doctor prescribed medicines.  They really didn't help with the pain.    Best thing I could do was take sleeping pills to knock me out.
At least you got better thanks to your nutrition