Could I be?! Should I test?!

So I had my period a week ago but it also came a week early which I thought was weird because I always start on the same day. Well this morning I woke up with a massive headache and sick to my stomach. nausea like crazy and eventually threw up. Could I still be pregnant? Even tho I had a period? Just makes no sense. Think I’m gonna go get a test just to make sure because I never throw up 🤦🏽‍♀️