Lonely and ill

I live alone with a number of health conditions . People don’t understand my conditions and forget about some and say get out volunteer join groups . done that only got so much energy . I just can’t seem to make real friends . How do people cope with health conditions and loneliness especially when stuck on the sofa ill ?