Serena Williams

FILE - In this Jan. 21, 2019, file photo, Serena Williams serves to Romania's Simona Halep during their fourth round match at the Australian Open tennis championships in Melbourne, Australia. (AP Photo/Mark Schiefelbein, File)

(CNN) -- Serena Williams is taking precautions against contracting the coronavirus.

The tennis champ revealed on Instagram that she will be spending time with only her family, including husband Alexis Ohanian and 2-year-old daughter Olympia.

"Spending the next 6 weeks in solitude. Being a wife. Being a mom. Cooking. Cleaning. Spring cleaning. Face mask. Makeup tutorials. I'll let you know how it goes.... stay safe everyone. This is serious," Williams wrote alongside a short video showing her getting her makeup done.

Williams' post comes after the coronavirus outbreak rapidly spreads.

Tom Hanks and his wife Rita Wilson tested positive for the virus after they both "felt a bit tired, like we had colds, and some body aches," the actor explained on Instagram.

"Rita had some chills that came and went," he added. "Slight fevers too."

As of Friday, travel restrictions into the US are going into effect and most public gatherings are banned.

According to Dr. Anthony Fauci of the National Institutes of Health, it will only get worse. He told CNN on Thursday, "We will have a lot more cases."

Copyright 2020 WDRB Media and CNN. All Rights Reserved.