The ex-husband of Katy Perry has revealed what it was like to be married to the pop star where he gave some advice on what to do if it doesn't work out.

Katy Perry Is 'In Control' Of DJ Diplo?

On Monday, Perry's former husband, Russell Brand, spoke with Matt Lauer on the Today show where he had some kind words to say on his marriage to Perry.

"I really enjoyed it," the comedian and actor said. "Katy Perry is an amazing person."

Is Katy Perry's Ex-Boyfriend Having A Health Problem?

Brand then revealed that there are certain things to be expected when it comes to being married, and what one should do if it doesn't end the way it should have.

"What happened was after you get married, like anyone who's been married or come out of a relationship, you obviously have a lot of expectations," Brand said. "And if those expectations don't work out, then it's probably time to grow a beard and walk around in pajamas. That's my advice."

Brand and Perry got married in October 2010 and then divorced in July 2012. Rumor has it that the pop star is dating DJ Diplo, and according to E! News, all seems to be going well between them.

"He knows she's in charge and respects her," a source said. "She keeps tabs on him...but she trusts him and that's the most important thing to her."

Perry's friends and family have also reportedly taken a liking to Diplo.

"You can see how comfortable she feels with him already because the whole crew hangs with him already and they approve," the source said. "It's important that everyone gets along with him because makes her crazy life easier."