how to lower your sex drive?

i recently broke up with my boyfriend, who was the first guy i ever slept with. i have always really valued sex, so i know that hookups aren’t for me. it was really hard to get myself there with my ex, let alone anyone else. my problem is that i’m still sleeping with him and i can’t stop. i only want to have sex with him, no one else, but i know that its damaging me emotionally. the only thing is, i honestly think i have a sex problem lol. like sometimes i can’t get anything done unless i have sex. touching myself doesn’t help at all. does anyone know how i can lower my testosterone or sex drive so i can leave this boy in the past? 🤦🏼‍♀️