Help !!!

So i woke up at 3:35 am to go use the bathroom and i see like brownish stuff like it would be the start of my period but i don't get it till the 31 supposely mine you i did have sex on the 15th so i don't know im type scared Confused cause i already had my period this month but i always get it again. The last day going into the next month ??