just got prescribed clobetasol propionate topical solution and 2% ketoconazole shampoo how do i use it?

how do i use the clobestol product? do i just scrub it in my scalp like a shampoo? and for anyone who has really bad dandruff and has tried these out do they actually work??