I threw up a week before re my period ???


So i’ve been on birth control for about 2 months now and I take it everyday at the exact same time each day and earlier today i was feeling fine and a few hours later i had some food and i felt sick , I threw up and now i feel so much better , could it just have been bad food or am i pregnant thoughts ??