How to stop thinking every girl is a potential girlfriend?

I don’t want to think like because I feel like it makes girls uncomfortable around me. I’m 20 and somewhat recently got out of a rocky relationship. She was very emotional and really dragged me down with her. I feel also that me thinking every girl is a potential partner that I look extremely desperate for anything I can get. So does anyone have any advice on this?
How to stop thinking every girl is a potential girlfriend?
Post Opinion