Cock ring??

Monay

So when my boyfriend and I have with a condom he doesn’t stay hard. Like he said with the condom he gets soft quick and it’s becoming annoying to the both of us. So I thinking about getting a cock ring to help to stay hard while we are having sex while still using a condom. Will that work?