I was eating ramen/cup of noodles for a couple of months  everyday. Now I am worried I had too much sodium?

Yup. That is a worry. That stuff is loaded with sodium. Assuming you're otherwise healthy and don't have hypertension, just lay off that and watch your sodium intake now. See your doctor at least once a year if you're healthy. Otherwise, bring it up at your next visit. If you have headaches, dizziness, change in urinary habits, chest pain, or shortness of breath, see your doctor soon.