Control it. Most cases can be controlled adequately with a good over-the-counter anti-seborrhea shampoo and Hydrocortisone cream. Stubborn cases require prescription products. But it will always come back and require re-treatment, because the yeast that causes it is a normal component of your skin.
Protect. Avoid things that make you break out, soaps & wetness. Wash your hands only when necessary. Wear gloves when needed. Wear clothes made of cotton. Bathe only with a small amount of mild unscented soap, such as dove. Keep the water temperature cool or warm, not hot. Use the medicine your doctor gave you. Use a plain moisturizer daily. Avoid scratching or rubbing the itchy area. Manage stress.