Yes, Penny is right. Call your doctor right away. Be very clear that this is significant pain and that you need to be seen. I’d recommend getting your blood levels checked AND seeing an opthalmologist.
Only a doctor can tell you WHY your eye is hurting right now and of course, with Graves there’s a lot of possible reasons.
Really, call your doctor!!