A method and apparatus for treating ocular disorders such as blepharitis, meibomitis, and dry eye syndrome. The method includes using an electromechanical device to move a swab relative to the eye to create cyclical movement that impacts debris present at the eyelid margin and effectively removes the debris from the eye to encourage healing and prevent further digression of the health of the eye. The apparatus is an electromechanical device that includes a mechanical drive unit operatively connected to a swab to create a precise relative movement of the swab to the eye to remove debris present therein.