If you've still developed a stye, though, there are ophthalmologist-recommended ways to safely get rid of them. "Really, the best way is lots of warm compresses over the eyelids," says Lin.