Rob Lowe used to have quite the horndog reputation, with the sex tape scandal to prove it. But that embarrassing incident happened nearly 30 years ago, and the reformed playboy and wife Sheryl will celebrate their 26th anniversary in July.

He may be playing a libidinous “Yoda of gigolos, dispensing advice” in the new comedy How to Be A Latin Lover, but the 53-year-old actor is a one-woman man off screen. In this conversation, he talks about Sheryl, sobriety and staying hitched.

“I think both parties have to be able to forgive as opposed to running, to be able to dig in and fight and do the right thing when things get rough, instead of bailing.”

You have one of the longest marriages in Hollywood. What’s the secret?
It’s the same thing as a successful TV show or movie. Like Alfred Hitchcock said, it’s 90 percent casting. I picked the right one. Sheryl is the most important woman in my life.

But what keeps it going for 26 years?
I think both parties have to be able to forgive as opposed to running, to be able to dig in and fight and do the right thing when things get rough, instead of bailing. I think actions speak louder than words so it’s about correcting whatever the issue is that has arisen, which can sometimes take a while.

Did getting sober help you to handle that?
Absolutely. Sobriety changed my life without a doubt. Getting sober 26 years ago changed everything.

Your new movie co-stars Salma Hayek, Kristen Bell and Raquel Welch, the latest in a long line of beautiful actresses you’ve worked with. Does Sheryl ever get jealous?
If I had a wife who was jealous in that way our marriage would never have lasted. There are plenty of people who are uncomfortable with that kind of thing, but Sheryl is not one of them. Neither am I.

What kind of things do you love to do as a couple?
A lot of travel. My wife has a very successful jewelry line so we were in Hawaii for her business. Then we went to Mexico for New Year’s.

What other advice can you impart about marriage?
Set boundaries. Sheryl leads by example and she’s empowered me to have very strong boundaries.

Photo: Getty Images/Jeff Vespa/Contributor