This claim is mostly false.
Surgical masks work to prevent others from getting sick by the wearer, but cannot prevent you from getting sick due to there not being a seal.
N95 Respirators work well to prevent the intake of suspended droplets on healthy people, but they MUST be handled properly.
They seriously lower the risks due to frequent exposure if you handle the masks properly. The reason why it is recommended for the public not to do so is that healthcare employees need them most and they effectively handle them.
Also, many people don't show symptoms with COVID-19, so even surgical masks can prevent contagious people from spreading it. Masks aren't a bad idea if there's a Wuhan-level outbreak, but medical staff needs them the most, and people MUST learn to use them first. This virus needs to be slowed down effectively, without alarm, and WITH smart procedures.
Seriously people, just start washing your hands for actually 20 seconds. Not this 5-second thing. You need to scrub your hands for that long. Hopefully, people will keep using proper handwashing methods from now on. This along with avoiding touching your face, and avoiding exposure to people in the event of an outbreak is what will help you and society the most.