Nosophobia is an intense fear of developing a physical or mental illness. It is a type of health anxiety that can cause a person to become preoccupied with the fear of becoming sick. Symptoms of nosophobia may include excessive worrying, panic attacks, avoidance of medical care, and difficulty concentrating
From Wikipedia
Nosophobia, also known as disease phobia or illness anxiety disorder, is the irrational fear of contracting a disease, a type of specific phobia. Primary fears of this kind are fear of contracting HIV infection, pulmonary tuberculosis (phthisiophobia), sexually transmitted infections, cancer (carcinophobia), heart diseases (cardiophobia), COVID-19, and catching the common cold or flu.