From what I know it is normal for you to have some abnormal feelings with a pair of new glasses, because the degree of your new glasses might be different from your previous pair, which could give rise to some dizzy feelings, painful eyes, nausea, or something. It is just a matter of time before you become compatible with your new glasses, perhaps a week later you are ok with them.
Generally speaking, it takes several days to get used it when you first time wear eyeglasses. But if you can't adapt to it over one week, you may get the wrong prescription glasses. If so, you shall check your eyes again and buy a new pair.
Actually you will not feel hurt at the eyes when you wear the new eyeglasses. You may have the eyes infection at the eyes. Or you don't get used to wearing the new prescription of the new eyeglasses. You could use some eye drops to release the symptom and make the eyes feel comfortable. You could just close your eyes and let them have a good rest.
Well, it can be possible to have pain in your eyes. According to some researches, a new vision prescription will make the eye to focus correctly. But on the other hand, it can also lead to some typical symptoms include headache, dizziness and eye strain, when you do not adjust to them. When you have eye strain, it can lead to eye pain, eye pressure, and red eyes too. If the strain on your eyes becomes painful, you should take off your new glasses. And then you can close your eyes for a few minutes to allow the muscles to relax. And if the symptoms can not disappear in a few days, you should contact your eye doctor as soon as possible.