Goal (1): No more beating yourself up. You have a broken heart and need to find a way out - that is all.
Goal (2): Dedicate one hour a day (when you are awake ) that you do not allow yourself to think about B. Do whatever it takes to blank your mind and/or pull it away from B. At this point - allow yourself permission to think about her the other 23 hours. The goal is just one hour.
I find it helps to find a new activity or something that has nothing to do with the person that broke your heart.
Let's take this one baby step at at time to get you out of your rut. And yes, I would like to see a post from you about that hour everyday - so there is accountability.