To avoid prolonging recovery time in case there is an injury and not just after-pain from the punch, I suggest seeing a doctor and getting his opinion, maybe a quick X-Ray as well to see if it's merely fractured. Either way, I would suggest getting it checked before going back to training, just to be safe.