Charlie Sheen has a suggestion for Denise Richards after a judge ruled he'd no longer pay her child support.

The two actors were married from 2002-2006 and share two children: Sami, 17, and Lola Rose, 16.

On Tuesday, a judge ruled that after one of their daughters moved in with the "Two and a Half Men" alum, 56, he would no longer be required to pay child support to Richards, 50.

It was reported that the actress was "blindsided" by the ruling.

CHARLIE SHEEN WILL NO LONGER PAY DENISE RICHARDS CHILD SUPPORT, ACTRESS 'BLINDSIDED' BY RULING: REPORT

When approached by paparazzi during a visit to Whole Foods in Malibu, Calif., Sheen said that if Richards has a problem with the ruling, she "should go down to the courthouse and complain to the judge," per Page Six.

Charlie Sheen said that Denise Richards ‘should go down to the courthouse and complain to the judge’ if she's unhappy with the court ruling that he'd no longer pay child support. (Getty Images)

After the ruling, Sheen told Us Weekly that he believed it to be "extremely fair."

"It speaks to not just today, but it speaks historically to that same fairness," he added at the time.

CHARLIE SHEEN RESPONDS AFTER 17-YEAR-OLD DAUGHTER CLAIMS SHE WAS 'TRAPPED' IN 'ABUSIVE' HOME

A source told People that Richards was never served the court date, while another source said Richards found the ruling "very disappointing … but also not surprising."

However, another source told People that Richards "has known about the court date for six months."

Charlie Sheen and Denise Richards were marred from 2002-2006. They share two daughters. (Getty Images)

It seems that Richards isn't the only one upset, however, as an insider recently told the outlet that the star's husband Aaron Phypers is "heartbroken" over the ordeal.

"Aaron's a kind man. He's in a tough role, but he keeps his cool," said the source. "He's heartbroken because Denise is heartbroken that Charlie is pulling this after all she has done for him."

DENISE RICHARDS DENIES COMMITTING FRAUD IN LEGAL BATTLE WITH LANDLORD: REPORT

They added: "He's upset because his wife is upset that Charlie is playing this game with the kids."

The insider explained that Richards is feeling "heartbroken" too over the fact that Sheen "has taken this road."

"She loves those kids," the insider insisted.

Sheen%20married%20for%20a%20second%20time%20in%202002%20to%20actress%20Denise%20Richards%2C%20with%20whom%20he%20shares%20daughters%20Sam%20and%20Lola.%20Their%20marriage%20officially%20ended%20in%202006.%0A

The judge's ruling comes after their eldest daughter, Sami, moved in with Sheen. (Reuters)

During the hearing on Tuesday, Sheen’s attorney argued to the court that the actor had been overpaying monthly child support to Richards and said Sheen had even set up a $1.2 million trust for his daughters after filing his initial petition.

CLICK HERE TO GET THE FOX NEWS APP

"Sometime in spring, in early April, Ms. Richards had a falling out with her daughters and asked Mr. Sheen to take custody," Sheen’s attorney, Gregory Pedrick reportedly told the judge in court. "That has been the reality since April of this year."

CLICK HERE TO SIGN UP FOR OUR ENTERTAINMENT NEWSLETTER

Sheen’s lawyer went on to say that Richards owes Sheen money for his overpayment, but noted that Sheen has no plan on trying to recoup the paid funds.

Fox News' Julius Young contributed to this report