'Modern Family' Star Jesse Tyler Ferguson Opens Up About Cancer Scare

PHOTO:Jesse Tyler Ferguson attends Broadway Acts For Women: A Star-Studded Night of Karaoke And Comedy, May 1, 2016, in New York. PlaySantiago Felipe/Getty Images
WATCH Jesse Tyler Ferguson is 'Fully Committed'

Jesse Tyler Ferguson is opening up about his cancer scare.

The "Modern Family" actor shared a photo last December where he sported a white bandage on his cheek. His caption thanked his doctor "for taking the cancer out of my face."

Still, no one knew what type of surgery he had and how serious it was until now.

"I had to have a piece of skin taken out of my cheek," Ferguson, 40, told ABC News before the launch of "Celebrating Local Eats," PEPCID Tastemakers' latest campaign in New York City. "It was nothing serious. There was no life-threatening thing that happened, but it was a little scary. I've never had a brush with cancer before."

Ferguson added that because his surgery occurred on his face, it heightened his anxiety.

"Having to do something on my face was very scary. My face is my livelihood in this business. It was overwhelming," he said.

The actor, who is now starring in a one-man show on Broadway called "Fully Committed," said his health scare happened despite wearing sunscreen "on a day-to-day basis."

"I grew up in New Mexico and I was exposed to a lot of sun at an early age, so I'm reaping the benefits of that," he added.

Now, Ferguson is living life differently.

"I'm going to continue being smart about my choices and not sunbathe, which is not something I would do anyways," he said.

Throughout the ordeal, it helped that Ferguson had his husband, Justin Mikita, to lean on, especially since Mikita, 30, went through his own bout with cancer as a teen.

"He certainly understands what it's like to go through a scare like that. He was a lot younger when it happened for him ... but he comforted me as any husband would," Ferguson said. "He understood and sympathized with my fear of it."

And although the two are enjoying life as a twosome, they are thinking about expanding their family.

"I know the type of dad that Justin is going to be. He's going to be a great dad," the actor gushed. "I look forward to seeing us as parents. We get to really participate in this fascinating project -- to raise a child."