Dandruff doesn’t usually require medical treatment, but sometimes it can be associated with more serious conditions. There’s no need to see your doctor if you have some flakes with no other symptoms. However, you should make an appointment if you have dandruff accompanied by symptoms such as redness, tenderness, or swelling in your scalp. Symptoms like these could also indicate that you have another skin condition, such as seborrheic dermatitis. If you have very heavy dandruff or if home treatments aren’t helping, it may be time to see a doctor. You should also call your doctor if you have severe itching and discomfort along with dandruff. They can identify the cause of your dandruff and prescribe an appropriate treatment.  For example, if your dandruff is caused by an inflammatory disease, a corticosteroid treatment or immune response inhibitor might help. For persistent fungal infections of the scalp, your doctor might prescribe a strong antifungal shampoo or medication. If you have a condition that weakens your immune system, such as an inherited immune deficiency disorder, HIV/AIDS, cancer, or diabetes, call your doctor if you develop dandruff. Your doctor can check if the dandruff is caused by an infection in your scalp, and treat it if it is.  Some medications, such as steroids and chemotherapy drugs, can also weaken your immune system. See your doctor if you develop dandruff while taking one of these medications. Untreated skin infections can lead to serious complications if you have a weakened immune system, so don’t hesitate to get it checked out.

TL;DR in Indonesian:
Temui dokter jika Anda melihat tanda-tanda infeksi di kulit kepala. Cari bantuan medis jika ketombe sudah parah atau tidak merespons perawatan rumahan. Cari perhatian medis jika ketombe disertai melemahnya sistem kekebalan.