How do you get over baby’s dad?

Er

We were together for two years and he dumped me one month after baby was born. Loves our son but doesn’t love me. I still have feelings attached and I hate that I have to communicate with him and see him because of the baby. I try to keep it strictly about the baby but I’m just hurting and don’t know when I’ll finally be over this. :( How did y’all do it?