Covid-19: What happens if hospitals are overwhelmed?

How do hospitals become overwhelmed and what can be done to stop it from happening.