Unprotected sex

I'm 16.. And I just had unprotected sex and I was on my period today but it stopped bleeding, so I think I ended. Anyway. I'm really nervous and I'm thinking about buying plan b tomorrow just to be safe, but he didn't come in me. Ugh I'm sorry guys I'm just so nervous.