should I get a pregnancy test??

I had unprotected drunk sex on November 9th. I spotted on the 15th through the 19th but never actually started my period. for the past few days I've been throwing up a lot and I just don't know if I should get a pregnancy test or not.