(CNN) Tom Hanks and Rita Wilson are feeling better after being treated for coronavirus and Hanks offered some advice to those sheltering in place.

"Hey, folks. Two weeks after our first symptoms and we feel better," Hanks tweeted Sunday night. "Sheltering in place works like this: You don't give it to anyone -You don't get it from anyone. Common sense, no? Going to take awhile, but if we take care of each other, help where we can, and give up some comforts...this, too, shall pass. We can figure this out. Hanx"

The couple were self-quarantined in their home in Australia after being released last week from a hospital there, a representative for Hanks told CNN last Monday.

Hanks and Wilson were in Australia for pre-production work on a film about singer Elvis Presley. Hanks is set to play Presley's manager, Colonel Tom Parker, in the film directed by Baz Luhrmann. Production on the project has been suspended.

Thanks to the Helpers. Let's take care of ourselves and each other. Hanx pic.twitter.com/09gCdvzGcO — Tom Hanks (@tomhanks) March 15, 2020

On Sunday, Wilson captured some of what she called "Quarantine Stir Crazy" with a video posted to her Instagram of her transitioning from reading the sci-fi novel "Ender's Game" to rapping Naughty by Nature's 1992 hit "Hip Hop Hooray."