How do you completely devoid yourself of emotions and romantic feelings?

23 years of one-sided feelings, letting myself be used, and just bad cases of limerence I think I’m about ready for a hard reset of my brain. I don’t really see the point in having feelings if pain is the only result of it.

I don’t even know if it’s even fully 100% possible but every little bit helps. Is there some medication out there that numbs the chemicals in your brain that allow you to get attached to people? Or do I need to make a conscious effort to train my brain to stop when something starts to develop and overtime it learns not to?

Whatever advice y’all have to fix this I’ll gladly appreciate it.