A therapist can help a terminally ill patient by providing emotional support, helping them cope with their illness, and assisting them in making the most out of their remaining time. They can also help the patient and their loved ones communicate effectively and ensure that the patient's end-of-life wishes are respected.