American actor, Terry Crews has revealed that he almost lost his wife due to a previous addiction to porn.

The actor appeared on the TV show "Watch What Happens Live with Andy Cohen"  and that was where he made the revelation.

The America's Got Talent host said: "It was something that the porn use led to me being unfaithful years earlier. And what happened was, after years of hiding and not saying anything, she confronted me. She was like, 'What is it I don't know about you?' "

He told Cohen that when he told his wife about his addiction, "She was like, 'That's it. I'm out'. And I was like, 'Then go, bye!' "

He continued: "I was literally thinking, 'It's her. It's her fault'. But then I realized it was me. And all of the sudden, I knew I had to change."

His friend then urged him to "to get better" for himself, and he went to rehab for treatment.

"I was like, I need to break this. It was something that it was a stronghold, but I thank God I'm out of it," he said. "You learn that you've learned a lot of wrong things. I learned to correct them."

Watch the video below.