Lets start with the concept of what is Anti-fungal medication "Antifungal medicines are used to treat fungal infections, which are most commonly found on the skin, hair and nails."NHS
As you see Antifungals are medications that used to treat or prevent mycoses ( fungal infection) which divided in two major groups fungicides and fungistatics.
Loprex (ciclopirox) is a synthetic FDA approved antifungal agent used mostly for treating superficial mycoses and yeast infections of the skin, such as athlete's foot, jock itch, and ringworm it works by stopping or killing fungus but if you If you suffer from any adverse reaction to medication report it to your doctor. 2 3 4
We have lots of different mycoses conditions like athlete's foot, ringworm, candidiasis which are less severe or more serious conditions like Cryptococcosis, meningitis etc 5 as you see we have different kind of conditions which made by different kinds of microorganisms so as a result we have wide range of medications that each is suitable for specific conditions and indications . here you can see some of the other topical Antifungal agents that are available in market.
Based on condition,indications and guidelines your doctor or professional health care chooses and prescribes the medication so you can you can not just replace it even in some cases with a generic version without consulting your doctor.
As i know yes we have few OTC Antifungals but it differs from a country to another. check here for more information.
For more information checkout medlineplus.gov and Webmd.