Regular sex even if transactional is still the surest way to beat porn & masturbation addiction.
Just the thought of prospective pussy to fuck is enough to keep you from touching your dick, you cannot successfully beat masturbation is you keep repressing the urge.