The Only Way is Essex star explained that abnormal cells were discovered after going for a routine test.
"When people really have a go at me, I remind myself how lucky I am," she told The Mirror. "I went for my usual routine smear test and they found abnormal cells.
"I needed to have a colposcopy, a procedure where they look at what's going on and then treat it.
"The first thing that I thought was, 'I'm gonna die. I've got cancer'. I was frightened about what they might find and I was nervous about the procedure."
The cancer scare occurred when she was 21, but Goodger was given the all-clear after treatment.
She added: "It was quite painful even though they gave me a local anaesthetic. Afterwards I bled for a while and felt weak. In my case, they were able to laser the abnormal cells away.
"I was so relieved but I worried for ages that it hadn't gone away and that something bad was going to happen. I had to go back every six months for a smear test. Now I just have one every year and, thank God, it all seems to be clear."
Goodger said that the experience has helped her when criticised by internet trolls.
"So when the bullies are at their worst, thinking about what happened makes me realise how small-minded they really are."
Lauren Goodger was the second celebrity to leave this year's Dancing on Ice competition.