Advice please I don't know what to do

So recently my baby's father and I have ended things. He doesn't really ask to see our son and is mostly out with friends and who knows who else. It hurts me that I have to face all of this on my own and I also went through something similar in my childhood with my parents divorce and all but I definitely didn't want this for my son. My baby's father and I have always had an on and off relationship but it might have really come to an end this time. We have no communication what so ever & I need advice on how to get through this 😔 I've literally given up on everything, I try to be strong for my little one but it's as if I manage to mess everything up 💔