Difference between headache and migraine?

I've been getting a lot of headaches lately and Idk if they are migraines. What's the difference? They hurt so bad.