Sex on period?

Is it safe to let him cum inside of you on your period if you’re on he pill?