No matter how many times i say i will stop

I seem to always end up randomly having sex with people. I got out of a horrible ending relationship with my sons dad who i discovered was cheating on me with males and females for 7 years. Its just caused me to spiral. Now it's like sex is my drug but i dont even want the sex i just dont want to be alone and the attention is nice. I know this is not a good thing and i literally keep telling myself i will stop but then i do it again and once ive done it i feek attached and the only way to unattach is to repeat the cycle and find a new guy. Please if your judging me badly dont comment i hate myself enough i knoe this isn't healthy and i got into counseling i start this week. Im very embarrassed i cant talk about it to anyone. Are other people like this? What can i do to be fucking okay without all of this? Why am i like this 😞