A fast heart beat can be a response to an infection and if you felt feverish this does seem likely even if it is just a simple virus. Inflamed eyes would go with this. But there are a lot of possibilities from your history and you do need to see a doctor for a check up. If attacks of fast heart rhythm are recurring you could have an EKG monitor to check the rhythm when this is going on. It would be helpful to know what the heart rate
was when you felt it fast and if you do not know how to time your pulse you may have a friend who can show you or ask your doctor. If the heart rate is not much above 100 beats per minute it is in normal rhythm.