Why am I getting sick

I don't see my period due to the type of pill I am on.. I have gotten sick about three weeks ago (early morning) and now again today (early) should I take a pregnancy test