Spotting after sex!

Yusra
Im on my cycle day 6. My normal days are 4-5. Bt i started spotting after having sex. Just wanted to know what could've caused it?