I realise avoiding masturbation is important. And that sex is okay and potentially beneficial?
But what about complete abstinence, is that still good and will be fine to completely recover?

Reason I ask is because I don't have a partner and I'm afraid of STIs from sleeping around.