Can we have sex during periods? Will this have any effect on health?

Perfectly safe. Use a towel, or menstrual cup but if you are comfortable with it, it is perfectly safe to have sex during periods.