Sofia Vergara is renowned for her upbeat personality and positive outlook on life, but the star has faced a devastating health diagnosis.
MORE: Sofia Vergara models gorgeous swimsuit in new photo
The America's Got Talent star was one of the many celebrities who featured on the Stand Up to Cancer charity telethon - which aired last year - and opened up about the moment she was told aged 28 that she had thyroid cancer.
"At 28 years old during a routine doctor's visit, my doctor felt a lump in my neck," she said.
VIDEO: Sofia Vergara wows in figure-hugging sequined dress
"They did a lot of tests and told me finally I had thyroid cancer. When you're young and you hear the word 'cancer', your mind goes to so many places but I tried not to panic and I decided to get educated."
MORE: Sofia Vergara is a bombshell in dazzling gold gown
MORE: Sofia Vergara shows off her wild side in leopard print shades we want asap
The Modern Family star continued: "I read every book and found out everything I could about it. I was fortunate to have caught it early and to have the support of my doctors and most importantly, my family."
AGT's Sofia Vergara opened up about her thyroid cancer battle
She added: "I learned a lot during that time, not just about thyroid cancer but I also learned that in a time of crisis, we're better together."
READ: Sofia Vergara inundated with fan support after sharing heartbreaking news about Nightbirde
SEE: Sofia Vergara looks incredible on vacation in Barbie pink swimsuit
Sofia has opened up about battling thyroid cancer in the past and told Longevity: "I was diagnosed with thyroid cancer and had to have my thyroid removed.
Sofia is renowned for her positive outlook
As a result, I have a hypothyroid condition and need to take medicine to treat it." In a previous interview with Health in 2011, Sofia revealed why she initially kept her cancer battle out of the spotlight.
MORE: Sofia Vergara shakes it up in unexpected dress for date night with Joe Manganiello
MORE: Sofia Vergara's low-cut swimsuit photo leaves fans divided
"I didn't want publicity because of that," she said. "Having cancer is not fun. You don't want to deal with anything else while you're going through it."
Sofia is one of the judges on AGT
On how she changed her lifestyle after her diagnosis, she said: "For a while, I got really crazy about what I was eating.
MORE: Sofia Vergara dazzles in the dreamiest look - and fans can’t stop swooning
MORE: Sofia Vergara embraces her curves in sizzling lace-up swimsuit
"But then you realise that you can't live like that. You go to restaurants, and you have to eat something. You have to live your life. And no one really knows exactly how people get cancer."
Read more HELLO! US stories here
Like this story? Sign up to our newsletter to get other stories like this delivered straight to your inbox.