I have to agree with those here that I think there may be a high chance you are currently experiencing a serious low in your life and you should seriously consider not doing it now.
It sounds like you are having a terrible time. There is a lot I don't know, so I can't comment on your options with clarity.
However, if you have family or friends who could possibly put you up for a while, I think it may be time to consider that option. If not, you should consider checking for a shelter nearby or some other group who offer services for the homeless. This is just something temporary to buy you time to figure things out.
I also have to mention that if you are taking drugs or drinking a lot, this is going to cloud your judgement enormously. Do not let those substances take control. Put them aside for now and resolve to come up with a plan for how to can get yourself out of this mess. If you are not abusing substances, ignore this point.
Summary:
1. Think if there is someone you know who you can call
2. You have the internet, so can you check for local shelters, etc. Just to get you over the night.
3. If you are engaging in any kind of substance abuse, you need to stop it or try to get help to help you stop it. If you are abusing substances, THAT is your current problem.
4. If you are not abusing substances, then grab a pen and write out your options as you see them. Coming up with a plan. It can be very liberating, believe me!