John Stamos is going to rehab.

The "Full House" actor checked himself into a residential program for treatment of substance abuse after he was arrested for driving under the influence in California last month.

Stamos was pulled over by Beverly Hills police on June 12 and charged with a DUI, after which he was briefly hospitalized for an unknown medical condition.

Following the incident, the 51-year-old star Tweeted to his fans:

Stamos is set to reprise his iconic role of Uncle Jesse in a Netflix reboot of "Full House," titled "Fuller House," and his new Fox sitcom, "Grandfathered," premieres this fall.

Watch more above.

WATCH: Caitlyn Jenner's Fatal Car Crash Shown in Surveillance Video

Ariana Apologizes Again: I'm 'Disgusted' With My Actions at Donut Shop

Patti LuPone Snatches 'Inconsiderate' Audience Member's Phone