ugh.
Addicts are not known for making good decisions. I know that's an understatement.
I hope you can do something nice for yourself tonight. How about clean sheets, a hot shower and clean night clothes? Some hot tea and a comedy on TV might help. Bright toenail polish always cheers me up. Never underestimate the power of self-care.
If you can, refrain from contact with him - it will just make it worse.