Annie dear you took a pill after and within 24 hours of unsafe sex. So seemingly chances are low, but emergency pills may have impacted your cycle. Anyway, to assuare yourself - do a home pregnancy test - morning urine sample is the best- and then NEVER have sex without a condom. Ok?
https://lovematters.in/hi/pregnancy/unsure-about-being-pregnant/unsafe-sex-missed-period-am-i-pregnant https://lovematters.in/hi/pregnancy/home-pregnancy-tests-dos-and-donts
Annie dear you took a pill…