I am currently 48 and have work for this company for 25 years. I was diagnose with some condition. Normally I work shifts and now have to see a doctor 2 times a week. The company say they don't have a place for me now. I must take early retirement. Please advice

PS. My colleague was also fired because he had seizure (Epilepsy) at work. He had work for more 20 years also. Is there something I can do to help my friend. He was fired late last year.