How to stop yourself from texting ex/child father

We literally just broke up and he’s already broadcasting that he is single. I’m over here heartbroken and he’s probably talking to plenty not feeling any of what I’m feeling. I wanna text him so bad and say something . This sucks , I don’t want to feel how I do about him . It’s not fair