Porn escalation

How much time approximately does it take for the brain to go back to it's normal status after quitting porn? And does masturbation affect the healing période?