Rarely, an operation called a vitrectomy may be needed to treat uveitis. It's usually only recommended if you have repeated or severe uveitis, or if the condition is caused by certain infections. A vitrectomy involves gently sucking out the jelly-like substance that fills the inside of the eye (vitreous humour).