Idk what to do

I miss my ex. Not an I love my ex. Just the friendship I had with him. We’ve been broken up for almost 2 years now and I still think about him. I’m in a relationship with someone else we have a kid and we are engaged I love him so much but I have always thought about my ex. My ex and I talk off an on to ask each other how we are doing. IDK what to do. I feel like I’m hiding my feelings and I don’t want to think about him anymore. What should I do?