If you have two male guinea pigs and one keeps trying to mate with the other should you separate them?

I would. But if you are not for sure, then call a vet and see what they say.