Best treatment for dandruff

Doc said I have dandruff on my scalp and face head and shoulders no longer works for me. I’ve tried selsun but no luck