That's a tricky situation for you! I don't know that you can fix it. But what you can do is look after yourself. Focus on your life and goals, which is hard sometimes when our focus has been on someone else for so long, but it's necessary to bring that focus back to your own life. Men can sense when we are anxious about them and in some way that pushes them further away.
Accept that you can't force things. People move at their own time and pace and hard as it is when it hurts so much, you have to find a way to allow them to do this. Pressing someone for answers or to fix things only pushes them away more, try to let it go and trust that it will work out for the best for both of you.
Accept your own feelings and responsibility for the situation you're in - if you have someone who is neutral and a good listener in your life - talk things through with them. But keep bringing the focus back to you - what your part is in the situation, what you're feeling and what you will do to improve your life.
Are there things that you used to enjoy to do that you no longer do? It would be good to reinvest your time in those things that gave you pleasure - hobbies, friendships, interests. Even if you don't find that you get much pleasure out of them at first as you continue on and get involved in different things you will find you enjoy them more and more and take your mind off the men.
As your focus shifts you will find it easier to make decisions and be less confused about the situation.
Hope this helps.