SACRAMENTO (CBS13/AP) – California Gov. Gavin Newsom on Thursday ordered the state’s 40 million residents to stay at home, restricting non-essential movements to control the spread of the coronavirus that threatens to overwhelm the state’s medical system.

Most businesses and business venues such as indoor malls will be closed to the public. According to state health officials, they include dine-in restaurants; bars, nightclubs and other entertainment places where people gather, along with gyms and fitness studios. Convention centers and public events are also out of bounds.

READ MORE: 5-Year-Old Boy With Cystic Fibrosis Recovers From COVID-19

READ ALSO: Coronavirus In California: Governor Announces Statewide Stay-At-Home Order

So what is still open? Businesses that provide essential services.

They include grocery stores, farmer’s markets, food banks, convenience stores, pharmacies, and other health care providers, news outlets, banks and laundromats.

Restaurants can still provide take-out food and make deliveries. Businesses involved in construction and “essential infrastructure” such as plumbers, electricians, gas stations, auto repair shops, and hardware stores also are exempt.

READ MORE: Gov. Newsom, Lawmakers Reach Deal To Get California Children Back In Classrooms

Public transportation and utilities will continue to provide service.

And as you stay at home, what can you still do during this time?

You can leave home to get food, prescriptions, and health care, or care for a friend or relative. You’re also allowed to walk the dog and exercise outside including walking, running or hiking. When people do go out, they should practice social distancing, which primarily consists of staying 6 feet away from people you’re not living with. Parks and beaches full of people won’t do.

Playgrounds and public facilities like restrooms are risky because of their high-touch nature.

You can learn more about the order on the California Coronavirus (COVID-19) Response website.

MORE NEWS: After Lead Investor Backs Out Of MLS Deal, Sac Republic FC President Steps Down

(© Copyright 2020 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)