Worried am i pregnant?

Okay i am just going to get to thw point... Lately i have been having un protected sex ... Put the pull out method. Its 5 days till my period and a little tmi but i have been having a lot of gas🙁.... I woke up this morning feeling fine and then out of no where felt nascious and threw up like yellow bile big like clumps kinda looked like muchus. It didn't have any taste or anything. After that i felt fine. Could i be pregnant?... Please no offensive comments.