Could this be the beginning of a migraine?

Guys on the morning of March 8th, I woke up with a severe headache from the back of my neck up and nausea. So this morning I woke up with a headache and nausea again. I was watching videos on my phone, thinking that maybe my head would wander and the nausea would go away, but the sound in the video felt like it was going to pierce my head. So I stopped watching and threw up finally. I felt relieved after throwing up. The headache went away. Has anything like this ever happened to you?
Could this be the beginning of a migraine?
Post Opinion