The masks actually do less to protect you from illness than it does to protect others from catching what you have. You can actually put yourself in more danger if you don't know how to properly put on, wear, and take off the masks.
Anyways, be safe and thank you!