The answer is possibly. You should consider if you want to go & see you doctor to get the morning after pill, if you still have time (i think this is within 3 days of intercourse).
Afterwards you should consider using some form of contraception, either the pill &/or condoms to avoid the anxiety you are currently experience in the future.