Modern Family star Jesse Tyler Ferguson has revealed he underwent a medical procedure to remove a cancerous spot on his face.

Ferguson revealed the health scare to his 1.2 million Instagram followers and thanked his medical team in the post, in which he’s posing with a bandage over his right cheek.

“Thank you to Dr. Bennett & his entire team for taking the cancer out of my face,” he wrote. “Good luck hiding the stitches tomorrow @modernfamily_makeuphair!#youwannaapieceofme #phantommask#spf75.”

Ferguson attended his co-star, Sofia Vergara’s wedding in Palm Beach, Fla. to Joe Manganiello last month along with Julie Bowen, Ty Burrell, Eric Stonestreet and her TV husband Ed O’Neill.

The actor hasn't shown any signs of skin issues in previous posts and hasn't talked about it publicly.