Getting over it

How do I get over someone I still love but who isn’t healthy for me to love?