I’m scared of the gym

I had an accident last year and couldn’t gym for a few months, it was probably mild arrhythmia but i don’t have it anymore. I stopped eating healthy, and i stopped sleeping well and being active all together.

I’m back now, in a deficit, and i still have my gym membership. I had a year subscription but obviously couldn’t go. I never liked the gym, but i can’t do anything at home. Maybe i can save up for a home gym later. I just hate the community, the gyms far away, alot of people know me and messing up there will ruin my reputation. I also just got fired, so i need to find a job to buy equipment for home. What do i do?