Dandruff or dry scalp?

Dandruff or dry scalp? I’ve tried prescription strength ketoconazole shampoo, shampoo with salicylic acid (this made it worse), tea tree shampoo, and glycolic acid. My scalp is burning, itching, and flaking like crazy and nothing is helping. I’m even losing a bunch of hair. Curious if anyone has found anything that helped them.