It's the morning after pill, or plan B - I'd head to walgreens or cvs and talk to their pharmacist, i think you can get it there
There is a pill that you can take for things like that. It is basically a morning after pill and it will stop anything from happening but you have to take it immediately. It is sold over the counter so you don necessarily have to get it from your doctor. I do not remember exactly what it is called but you can ask your doctor if it is right for you to take.