On the day of my period I have light bleeding then it stop I had sex three day ago and I had light bleeding again what does that mean?

Period. That does not really sound like anything is wrong honestly. If you would like better control of your menstrual cycle consider one of the many birth control options available to you.