How can I get over my first real love?

I don’t mean the kind of relationships you have when you’re 13, but your first proper love. I’m really struggling to see any bad in him which makes me want him back even more. How can I properly move on from him and lose these feelings? I’ve been told by a few people that you never truly get over your first love, so is there a way I can make it less painful?