A method of treatment is disclosed herein. The method includes administering to a patient in need thereof a polymer implant device containing a biocompatible drug, or a plurality of nanoparticles or microparticles conjugated with the biocompatible drug, the biocompatible drug comprising one or more Rock inhibitors, one or more Wnt inhibitors, one or more integrin inhibitors, and/or one or more glycogen synthase kinase 3 (GSK-3) inhibitors, the patient having a medical condition selected from the group consisting of dry eye, glaucoma, retinal detachment, retinal degeneration, age-related macular degeneration, a cataract, uveitis, a corneal genetic disease, postoperative inflammation, immune-related inflammatory processes, diabetic retinopathy, a side effect occurring after cataract surgery, a side effect occurring after refractive surgery, and combinations thereof. The administration of the biocompatible drug to the patient treats the medical condition, reduces the symptoms associated with the medical condition, enhances nerve regeneration, and/or alleviates the medical condition.