Both bacterial and viral eye infections are contagious (usually from person to person). The only way to tell the difference between bacterial and viral eye infections is an eye exam from an ophthalmologist.
Most eye infections are viral, and are very infectious.
Bacterial eye infections are less common and are treated with antibiotic drops and pills, and treatment of the underlying cause, such as chronic blepharitis or lid infection.
Viral eye infections are treated with artificial tears, mild steroid drops, and drops to prevent redness and itching. Special care is necessary to avoid giving the infection to others, including careful hand washing, throwing away eye make-up and contaminated contact lenses, and trying not to rub the eyes.
Be careful of "persistent" or "chronic" eye infections — they may be something else entirely, such as chronic inflammation from blepharitis or dry eye.
Don't stay on steroid drops for more than a few weeks. I just saw a patient who had been treated with steroid eye drops for a chronic lid infection from his primary care doctor. The patient wasn't getting better, so he kept re-filling the prescription, and after six weeks of (ineffective) treatment, he had steroid induced glaucoma in both eyes (and a stye which wouldn't go away)
It's difficult to prevent back pain, but the following tips may help reduce your risk: do regular back exercises and stretches – your GP or a physiotherapist may be able to advise you about exercises to try stay active – doing regular exercise can help keep your back strong; adults are advised to do 150 minutes of exercise a week avoid sitting for too long when driving or at work take care when lifting – read some safe lifting tips check your posture when sitting, using computers and watching television – find out how to sit correctly and tips for laptop users ensure the mattress on your bed supports you properly lose weight through a combination of a healthy diet and regular exercise if you're overweight – being overweight can increase your risk of developing back pain