Pregnancy test

So I’ve had sex but I am on birth control (levest). I got food poisoning a few weeks ago and my belly hasn’t been right since. It feels like a mild cramp in my stomach and my boobs get tender ever now and then, should I take a test? I finish taking my pill on the 27th June before my period starts that week? TIA