How can I stop flirting with my ex?

Anonymous
I broke up with my boyfriend about a month ago for many reasons. He took it really hard, but recently we started being friends again. We were texting the other day and he kinda starting flirting with me and I was encouraging him and flirting back. I feel really bad because I know I don't want him back and I really don't want to hurt him again, but I just can't stop myself.
How can I stop flirting with my ex?
3 Opinion