I need help ( REAL BAD )

Please do not remove this post, i'm shitting bricks literally.

I had unprotected intercourse with my gf. Let me explain, i just put it in for 10 seconds and i got scared and pulled it out. I did not ejaculate. She says she's on her "safe period" but still i was really scared as precum may contain sperm. So after posting this on other subreddit, most of them recommended to get her an i-pill. And she took an i-pill. I know it's harmful if used extensively, but i'm super sure that she won't use that again.

I will use protection from next time. Please let me know if i should do anything