I feel like I'm failing.

I feel like I'm failing. Since I decided to leave a marriage that wasn't healthy for me 3 years ago. Almost nothing has gone well for me..and now I'm in my early 30's working retail, and have been living in a friends basement for most of those 3 years... it's a toxic environment and gets worse daily. Today I was asked to get out and I have no idea what I'm going to do. I'm struggling financially and emotionally. I can't afford a full apartment and rooms are super pricey in my area.. I'm scared and I feel so alone. On top of everything I suffer from extreme migraines with no known cause and almost no remedy...I have no idea how I'm going to get through this next phase. My dog is the only thing keeping me going.