If you had a medical condition that made you unable to have sex..

If someone had a medical condition pop up that keeps them from having sex and you are already married do you need to give your partner permission to cheat ? How should it be handled?