No. Respirators generally do not filter exhalations ("expirations") by the person wearing them. That's not what they are for. The are for protecting the person wearing them. A traditional N95 filter mask that is well-fitting will filter both inspirations and expirations by the wearer, protecting both the person wearing the mask and the patient they are treating. That assumes a very good fit that still works well on expiration (when the mask will tend to lift off of your face a bit).
In an EMS meeting today, an MD called out a picture of a medic wearing an "N95" mask that had a visible valve on it. He emphasized that such masks with valves like that had the 1-way expiration valve, which exposes your patient to your breath if you are pre-symptomatic for COVID-19.
https://www.zoro.com/static/cms/product/large/Z-519yfo9x4.JPG
View attachment 261365
Surgical masks do not filter out the smallest viral particles that are shed on expiration, but do help a lot to trap the liquid droplets that contain the virus. That helps to keep you from depositing such droplets on surfaces when you cough or sneeze. That's about the extent of the use of surgical masks -- they are meant to help to keep you from spreading the virus if you are shedding it and are in a public place. They are far from perfect, but still a useful step, IMO.