How to get over being fired?

Was fired a while back. Miss my coresidents significantly. All this free time is causing a lot of pain. No desire to do things. Would like to go back to becoming employed as a resident.

All the time off is making me sad and mentally taking a negative toll on my mental health. No friends, significant other, social support, or family near by

Terminated for poor performance