From the symptoms that you are describing it seem to be having an infection in the tissue around the eye i.e. orbital or preseptal cellulitis. That is why the lymph nodes are enlarged and the eye is swollen. You would need intensive antibiotic therapy to cure the infection. Also, you need to take oral anti-inflammatory medicines like ibuprofen etc.