how to forget someone... even though you still like them

You know when you talk to someone for a long time. They make you happy and you make them happy or so I thought. Everything he said was basically a lie. Anyway we just stopped talking like 2 months ago but I keep holding on to the fact  that I still like him. I knew I shouldn't have caught feelings but I did and now I can't lose them. Any advice?