How to completely drop thoughts about having a girlfriend?

It is very hard for me to get a girlfriend, but I am always thinking about girls and relationship and so on... How to get away of this thoughts so I would be happy and wouldn't think about any potential girlfriend and relationship with her not even for a minute in one day?
How to completely drop thoughts about having a girlfriend?
Post Opinion