An epidemic is conquered when a large proportion of the population gains immunity. Then the remaining people without immunity are far less likely to be exposed. As we don't have a vaccine for Covid 19 yet, this implies that a large number of people have to become infected. This is undoubtedly what has happened in China, and there must have been a large number of unreported or symptomless cases to explain the big reduction in new cases.
All the hand washing and sanitising, plus avoiding crowds, isn't going to protect us completely, but it will reduce our exposure. I'm no health expert, but it seems to me that lower level exposure means that our immune systems will have a higher chance of dealing with the infection before we get seriously ill. Sadly, a proportion of the population have weakened immune systems or other serious illnesses, and these people need special care.