Feeling bad and depressed comes from the fact that nothing works well and/or you don't do much during the day so the best counter attack is to start doing some hard and challenging stuff, this way when you complete the tasks you will feel confident and full of gratitude once again, so your next step is what are some stuff you don't want to do but you know you should be doing, write them down on a list and start executing, few days later you will be on your mission once again full with positivity.
Some examples:
Start dating women
Go to the gym/ go for a run
Do something creative, or start producing content.. or start the business you have always thought about.. or just work on your craft, draw, write, whatever
Do some meditation, don't just lie on the bed but do a proper meditation
Without challenges we feel worthless and thats where the main problem stay, just start doing difficult things
EDIT:
I am amazed how most people here suggest things that will just make the things worse.
Don't watch porn, don't watch movies and netflix, don't drink alcohol and don't take drugs, don't play video games and don't binge eat.. all of those things that you use to escape reality are only going to make the things worse since you don't solve the root problem and then it will become even harder to brake the cycle.
The biggest take away is that you should start doing challenging things despite how you fill and eventually you will actually feel like doing those hard things, and guess what, when you do challenging stuff you wont feel like shit and depressed anymore.
Good luck!