Hamsters are hard to help medically. If he isn't in pain and moving all limbs I would assume he's ok. If he's not acting his normal self then I would bring him in. There just isn't alot they can do for hamsters. They also have a 2 year life expectancy. If he's hurt or not acting normal the vet will give you the best options to help.
It would be best for you to call the vet and explain the situation. Best wshes, I hope the little guy will be ok
Thanks! Your answer is awaiting moderation.