The answer is no. But it does protect others.

Certain models of professional, tight-fitting respirators (such as the N95) can protect health care workers as they care for infected patients.

However, we know now that wearing a face mask protects others. When you wear a face covering it inhibits viruses and diseases from getting air-bound and infecting people nearby. Your face mask protects others. Their face mask protects you.