sex before period ?

can you have sex a day before your period? are there any risks, higher chances? anything 😂?