Docasanol is used as:
Docosanol is a saturated 22-carbon aliphatic alcohol that inhibits fusion between the plasma membrane and the HSV envelope, thereby preventing viral entry into cells and subsequent viral replication. Ref: Katzung 11th edition Chapter 49.
Antifungal
Antiviral
Analgesic
Antiemetic