Help😩😕

So I had unprotected sex on Tuesday of 22nd even though my boyfriend didn't finish inside of me I took Plan B for the FIRST TIME just to Make Sure which was Thursday of 23rd so that was in (24hr) and my period comes in 3 more days but today I've been so gassy 🤦🏽‍♀️🤦🏽‍♀️ could it mean my period coming early cause i know Plan B makes your period come early or Not at all and should I stop being worried about the pill that I'm okay it was my first time I need help 😕😕