His wife is my friend and she is pregnant

She is my very good friend. Finally got pregnant. They told them it is risky to have sex during pregnancy. She asked me to help him to get through this period of abstinence from sex.