Avoid people who mess with your head. Avoid people who intentionally and repeatedly do and say things that they know upset you. Avoid people who expect you to prioritize them but refuse to prioritize you. Avoid people who can't and won't apologize sincerely. Avoid Avoid.
These people will not be there when you reach out but then blow super hot when they become available, they are not with a partner or a 'better' friend, starting to shower you with phone calls and messages, until you respond then cutting you off again leaving you clueless. Toxic people! Best thing to do is get rid of them
Detoxing from an unhealthy relationship is a process and it takes time. There will be good days and bad days. Just remember, it is very difficult to be an emotionally healthy person while closely attached to a toxic person.