An excellent guide from the World Health Organization
Using a mask is fundamental for preventing contagion from diseases. However, every individual needs to follow certain guidelines to make sure protection is fully optimized. The following link goes a lot in detail on this matter: