How to get over being used as a rebound girlfriend?

Just yesterday this guy opened up about his girlfriend when I noticed he was using me. He told me the most hurtful things without insulting me just by being honest but not in a good way more like he’s clearly not done with her and maybe still together. My chest hurt literally hurts. “No one will be like her because we almost had our first baby.” What he offered me was for her 😕😐 man I’m not that ugly but I feel worthless and since I have no one and I’m on vacation I’m here all alone. My ex husband wants me back and he’s actually a good man but I want to heal and not used him like they did to me. He clearly told me that a girl that cheats, parties a lot not that pretty is better than me without saying it. I’m a hard working woman I study I’m faithful and loyal but I noticed he still wants to give everything to her.
How to get over being used as a rebound girlfriend?
Post Opinion