KOH preparation is primarily indicated when a patient presents with symptoms of a fungal infection. Common symptoms include itching, redness, and scaling of the skin, nails, or mucous membranes. It is often used in dermatology and gynecology to diagnose conditions such as dermatophytosis, candidiasis, and onychomycosis.