If possible, get the hamster checked by a vet, especially if you can see bone through the skin. Hamsters generally have short stumpy tails and they don't use them much, so allow the hamster to rest (remove his wheel), and the tail should heal in 2 - 3 weeks.