Frankie Muniz is recovering from a health scare.

The Malcolm in the Middle actor, 26, tweeted surprising news Tuesday that he recently suffered a "mini stroke."

PHOTOS: Celebrity health scares

"I was in the hospital last Friday," Muniz tweeted. "I suffered a "mini stroke", which was not fun at all."

"Have to start taking care of my body!" he added. "Getting old!"

PHOTOS: Child stars gone bad

According to TMZ, Muniz was taken to an Arizona emergency room after friends noticed he was having trouble speaking.

PHOTOS: Stars' big breaks

Muniz will celebrate his 27th birthday on Wednesday, Dec. 5. The actor made a cameo appearance on the Oct. 23 premiere of Don't Trust the B---- in Apt. 23.

This article originally appeared on Frankie Muniz, 26, Recovering From a "Mini Stroke"