Giuliana Rancic, the E! News and Style Network host, revealed on Monday that she has been diagnosed with breast cancer.

Rancic discovered that her life was in danger as she and her husband, The Apprentice winner Bill Rancic, attempted to expand their family through in-vitro fertilization treatments.

Through my attempt to get pregnant through IVF, we sadly found out that I have early stages of breast cancer, Rancic said during an interview with Ann Curry on NBC's Today show Monday morning. It's been a shock, she added.

She and her husband have appeared on their own reality show, Giuliana and Bill, on which viewers watched their past unsuccessful attempts at using IVF to get pregnant.

The 36-year-old personality was in her third round of in-vitro fertilization treatments when her doctor suggested she have a mammogram, something she was not planning on having for another four years.

I wasn't prepared to get a mammogram until I was 40 years old, like I'd been told. I never in my wildest dreams expected anything to be wrong, she explained.

Rancic said that the news was totally shocking and that no one else in her family has a history of breast cancer.

I went into the hospital in LA, when they came in to tell me, they said it pretty quickly, they just said, 'I'm sorry, you have breast cancer.' It's what you expect, but so much more, it was like, incredible instant sobbing and the world just crashed down around me. I couldn't believe it - 36 years old, no family history? I couldn't believe it, she said.

Rancic will have surgery this week and then undergo six weeks of radiation treatments. She said that her husband has been by her side through it all and has been everything.

Bill is unbelievable. He lets me cry when I want to cry, he doesn't say, 'Hey, look at that person whose worse off than you are.' He just lets me feel what I'm feeling, she said during the Today interview.

The popular host also added that though she suffered a miscarriage in 2010 and will have to battle the cancer, she still wants to get pregnant.

I want that baby. And what's amazing is that baby will have saved my life. Now I truly believe that God was looking out for me. Had I gotten pregnant [Earlier], a few years down the line I could be a lot sicker.

Ironically, Rancic recently shot some on-the-street interviews to bust breast-cancer myths for the non-profit Bright Pink as part of National Breast Cancer Awareness Month, which marks its 25th anniversary this year.

On Monday, Rancid urged women to get tested.

I think a lot of us think we're invincible, she said. We have to start putting ourselves on the to-do list.

Visit msnbc.com for breaking news, world news, and news about the economy