What do you do when your thumb joint hurts after injury?

See your doc. If you have a fracture and it is not treated you could be in for problems later. An x-ray at the very least.