Help please

I met this guy at a party a month ago. He told me he didn’t have a girlfriend so we started talking and we made out last week. Yesterday, I found out he had a girlfriend 😢 I decided to dump him and forget about him. But I don’t know what to do... I miss him and can’t stop thinking of him. But I know it’s impossible to talk to him since he has a girl