Dandruff is a common scalp condition in which small pieces of dry skin flake off of the scalp.
Dandruff may have several causes, including:
Irritated, oily skin.
Not shampooing enough.
The metabolic by-products of skin micro-organisms, a yeastlike fungus (malassezia) that feeds on oils on the scalps of most adults.
Dry skin.
Sensitivity to hair care products (contact dermatitis)
Other skin conditions, such as psoriasis and eczema.

The main cause of dandruff is seborrheic dermatitis, a condition that turns the skin oily, red, and scaly. The white or yellow scales flake off, creating dandruff. Can dandruff be harmful? Although having dandruff can be embarrassing, it’s harmless. It doesn’t mean that you’re not clean. It’s not contagious: You can’t catch it or pass it along to someone else. Dandruff doesn’t directly cause hair loss but scratching your scalp a lot could cause temporary hair loss.

How do you get rid of dandruff?
For mild dandruff, first, try daily cleansing with a gentle shampoo to reduce oil and skin cell buildup. If that doesn’t help, try a medicated dandruff shampoo. Shampoos use a combination of special ingredients to control dandruff.

Dandruff shampoos are classified according to the medication they contain:
-Pyrithione zinc shampoos (examples:DermaZinc, Head & Shoulders, Jason Dandruff Relief 2 in 1). These contain the antibacterial and antifungal agent zinc pyrithione.
-Tar-based shampoos ( examples: Neutrogena T/Gel). Coal tar slows how quickly skin cells on your scalp die and flake off. If you have light-colored hair, this type of shampoo may cause discoloration. It can also make the scalp more sensitive to sunlight.
-Shampoos containing salicylic acid (example Neutrogena T/Sal, Baker’s P & S, others). Salicylic acid reduces oily buildup from the scalp. It is most effective at this task: Salicylic acid can get rid of waxy sebum that counterintuitively could cause dry skin conditions.
Selenium sulfide shampoos ( examples: Head & Shoulders Intensive, Selsun Blue, others). Selenium sulfide helps manage dandruff by reducing scalp glands’ production of natural oils. It also has antifungal properties. Use these products as directed and rinse well after shampooing, as they can discolor the hair and scalp.
-Ketoconazole shampoos (Nizoral A-D). Ketoconazole is an antifungal ingredient that is suitable for any age. This shampoo is intended to kill dandruff-causing fungi that live on your scalp. It’s available over-the-counter or by prescription.
If one type of shampoo works for a time and then seems to lose its effectiveness, try alternating between two types of dandruff shampoos.

For natural remedies, try tea tree oil and lemongrass oil respectively.
Tea tree oil is helpful for treating dry scalp and dandruff as it helps moisturize and soothe the scalp by clearing blocked pores and preventing dryness. Tea tree oil’s anti-inflammatory properties may help to reduce irritated, inflamed skin caused by scalp psoriasis.

Lemongrass oil also has antimicrobial and anti-inflammatory properties that may help reduce dandruff symptoms. How do you use lemongrass oil for dandruff?
Lemongrass oil for dandruff is most effective when used daily. Mix a few drops into your shampoo or conditioner daily, and make sure it’s massaged into your scalp.

You may need to try more than one shampoo/natural remedies to find the hair care routine that works for you. And you’ll likely need repeated or long-term treatment.