help for a friend

Ells

My friends been having unprotected sex with her boyfriend. She woke up this morning to a heap of blood and cramps and since then there’s been no more blood. Her period is due in 4 days. The last time she had sex was yesterday. What could this be?