Here are some methods and ideas for your reference: (I can't guarantee that it will be absolutely useful, but it will always help you)
1. It's not easy to forget someone who holds a lot of weight in your heart. But it is not impossible. You can divert your attention by distracting yourself, such as playing more with friends, finding more happy things to do, reading more humorous books and periodicals and relaxing yourself. Watch some comedies to relax yourself. Listen to music, remember not to be sad. Go out and make friends!
Time will make you forget her (him). It's best to keep yourself busy every day. It is best not to live in the same city as her (him). It's best to make some new friends, maybe the one you like in the future. In fact, there is no need to forget her (him) deliberately, because the more you want to forget, the more you will subconsciously think of her (him) when you want to forget. You can recall her (him) bit by bit, and you will feel very happy when you recall, but if you recall a little every day, you will find that your memory is slowly forgotten, just like we eat three meals a day, and sometimes you will forget even what you ate in the morning. Don't forget someone deliberately, because then you will love her (him) more than before. It's easy to love someone, but it's hard to forget someone. It's even harder to really hate this person. As long as you forget her (him), it's ok. After a long time, if you don't forget, you will forget.
In fact, sometimes you can change your mind: you love her (him)! But sometimes, giving up is for better choices. On the one hand, you can find your true love and get someone better than her (him). On the other hand, you love her (him) but you want her (him) to have a better life. Maybe she (he) will live better without you, so you should be happy.
Friend, I can tell you something about me: To tell you the truth, I have always liked someone, but that person doesn't like me now, but I like you, and I always feel sorry when I think about it, but I tell myself that I still have a long way to go, and that person won't accept me no matter how hard I try. So we should bury this feeling in our hearts and cherish it. Let me tell you one more thing: your current girlfriend (boyfriend) or wife (husband) is not the person you like. In fact, it makes sense to savor it carefully.
The above is my summary. Although it is not comprehensive, I hope it will help you.
I hope you can get rid of it soon. Come on ~
exhibit