You can connect me for it.
Still I would like to suggest you few steps which may help you to overcome from this
1. Involve youself in some work, Book reading, Music listening or as per your hobbies as much as you can
2. Once such thought appears, Change your mood by involving in some physical activities or you can talk to someone on call or in person but don't be alone at that time.
3. Its hard to stop it immediately but in few breaks you can definitely achive this. So first Try this for 7 Days, then next 12 Days then 18 Days, Then 25 Days and so on.
4. Once you will start to control it, You will know how to do it.
Next Steps
See with some sexologists
Health Tips
Watch, Read & Listen good content, Because brain output depends on feeding content and stored memories.