Thank you for posting your question here, I will try to answer it to the best of my abilities.
When you stop taking the pill, there is usually a seven days protection period, after those seven days having unprotected sex can get you pregnant. So whether or not you are pregnant right now depends completely on whether or not you were ovulating at the time of the act.
So either take an emergency pill that works for more than 24hrs after unprotected sex as soon as possible or just wait and see. You should be able to take a home pregnancy
test in around a week from now, that will let you know whether or not you are pregnant.
I hope this answered your question.