worried?

so in june me and my boyfriend had unprotected sex and i took plan b and i didnt get my period for that month but in july i go it around the 4th and usually my period doesnt come until the 27th so i figured it was the plan b that threw off my period but now im confused as to if my period would come around the regular time (27th) or if it would be comming around the 4th and its late ( me and my boyfriend recently had sex but he pulled out and that's why im slightly worried)

please no hate comments i know what i did was stupid i made an appointment to get on birth control