Is it ok to have sex at the end of your period?

I just got my IUD and I've been on my period for about a month now and I'm starting to go crazy. I just wanna have sex with my boyfriend. However, I think it is just constant spotting. Is it alright to have sex while spotting/on your period when it is light? If anyone has any personal experiences with this I would love to hear them.