Sex& periods

Could sex hours before my cycle comes in full affect harm anything???