Please take the hamster to see a vet, even if you only suspect a fracture. The hamster may well be in pain and needs to be assessed for appropriate pain relief at the very least.