Covid primarily spreads through droplets, which are largely stopped by regular surgical masks. There is lots of evidence that shows masks like surgical masks, which don't filter out things like smoke, do slow the spread.
Those kind of masks certainly won't protect you from others, at least not entirely, since you can breath in droplets through gaps in the mask, but they protect others from your breathing or coughing.