What is this

brown discharge is coming out of my vagina and I just had sex 4 days ago. I am also suppose to get my period in 4 days could this be due to my period?