Neil Patrick Harris had surgery on Tuesday after a sea urchin accident left him with an infected tendon in his hand.