It's not *necessarily* related - I had very similar symptoms as you (scalp dermatitis) and was advised to use Nizoral as a kid - obviously before my male pattern baldness started showing. Though, that said I've always wondered if scalp inflammation / irritation has contributed to and exacerbated the male pattern baldness anyway.
Anyway as ID said above, I'd get on the Nizoral which (as I see you're UK based too) you can get from all the main supermarkets, Boots, Superdrug etc for about £6. When I had a flare up I always had success combining this with the T-Gel range which you can get from the same places. The 'Theraputic' coal tar one especially - yes it really does smell like creosote fence paint (though I quite like it) when you put it on but it washes off fine with no residual smell.
Good luck!