How do I get women out of my head first?

Over the last few years I've jumped from one girl to another, with no longer breaks from women than 1-2 months.

Actually, I don't want that at all. I realize that I'm not coping so well with being without a woman. But the issue is just very present for me in these situations, so I tend to just go on dates again or something similar to change the situation.

How can I get the topic of women out of my head for the time being? I want to focus on myself again for a few months without any distractions. Without sex.