You will have to set the bone back to the way it was in the calf's jaw (if it's one of those compound fractures where the bone juts away from the rest of the jaw), and if there's some sort of...
Im afraid the best thing is to put him/her down. If the hamster is suffering the best way to relive it is to take it to the vet and end it's life. Sorry.