It seems from the history that you are having swollen eye with twitching of eye following sun burn.
Sun burn will not lead to swollen eyes or twitching.
Swollen eyes are usually seen following inflammatory diseases involving the eye lids like hordeolum
externum or internum...
This requires treatment by antibiotics and antiinflammatory drugs.
Hence I advice you to consult your doctor for examination and treatment accordingly.