HELP A WORRIED GIRL OUT !!!!

Okay so i had sex for the first time last night & towards the end the condom broke. I took the morning after pill this morning but i’m literally shitting myself because what if the pill doesn’t work ?!? Please tell me your experiences