Photo: Dean McDermott/ Instagram

Dean McDermott in the hospital

Dean McDermottis on the mend.

On Monday morning, the 52-year-old actor revealed that he’d been hospitalized the previous evening.

“So this happened last night,” he wrote alongside ahospital selfiewith a breathing tube. “I got admitted to hospital with pneumonia, possibly meningitis. I’ve never been so sick in my life!!!! Thumbs up and spirits up though.”

Closing out the post, he reminded his followers to listen to the new episode of hisDaddy Issuespodcastwith Adam Hunter and Nicky Paris, adding the hashtags “sick as a dog, ain’t no thang, this to shall pass, and blip on the radar.”

A source close to the actor tells PEOPLE that his fever just broke and he is “hanging in there.”

The update about his health came a day after McDermott shared that hehad a high feverand had also thrown out his back.

“I’m so BUMMED!!! I’ve been laid out for 2 days because I threw my back out. Now I got hit with a fever of 102,” he wrote on Instagram alongside a video of himself in bed.

The actor explained that he had injured himself from “bending over to pick up a towel to DRY MY FACE!!!”

“Epic fail!!” he said, adding that he had gotten the fever thanks to his 6-year-old son Finn, one of his five children with wifeTori Spelling.

McDermott said his health problems had prevented him from spending time with his wife (who is in CanadafilmingBH90210)and their daughter Stella, 11.

“Liam picked it up, and that’s when I really went ballistic, because it’s like, you know, it’s gonna happen,” McDermott said on the podcast. “He said, ‘Dad, am I obese?’ I said, ‘Look buddy — there’s some sick people in the world … and they need to do stuff like this. They need to say bad things about people.’ “

“‘Think about it, son. You have a busy life,’ ” he said. “‘You have school, you got sports; do you think you have time to go on Instagram, scroll through the people that you’re following, and make a negative comment about somebody?’ I said, ‘No, you don’t. You don’t, and if you did, you’d fill your time with something else. So think about how sick these people are that they have to do that.’ “

source: people.com