How long must I wait to play sports after having surgery for pneumothorax?

At least a month. Depends what sports you are talking about. I would be careful about serious contact sports ever. You still have a risk of ptx on the other side scuba diving is out as is skydiving. Recreational sports, tennis, baseball, soccer, etc are ok once your incisions have healed.