You can’t exactly “stop” per se, but it takes time,
One of my irl freinds gave me a guide that I disregarded until now. 1. Stay away from women, pictures, videos, ANYTHING. 2. Stop masturbating, but you may get withdrawals. 3. Maybe after 4 months you will be normal