How should you react when someone tells you they might have a serious illness?

Insecure2
How should you react when someone tells you they might have a serious illness?

Today during a casual conversation someone told me that they are supposed to do a test that is to confirm whether or not he/she Has a serious illness that they might suffer from for the rest of their life. I didn't really know what to do so I just sat there and listened to as much as this person wanted to say and when he/she changed the subject I moved on. I'm wondering if there is something I should have done differently or if there is something I should do for this person?

How should you react when someone tells you they might have a serious illness?
4 Opinion