Answer:
I will take the question in the context of health workers risking their own health for the benefit of their patients. There are reasons why they put their own health at risk. But at the same time they are also taking precautionary measures so they are not that exposed to the various diseases they encounter every day. The main reason why they risk themselves is that they swore an oath, known as the Hippocratic oath (especially the doctors) to do no harm and help their patients improve their well-being.