The CDC has specific guidelines on how to properly clean most cloth and fabric masks.
While there are some other cleaning methods floating around the Internet that suggest sanitizing face masks by sticking them in the microwave, oven, or a pot of boiling water, Carolyn Forte, Director of the Good Housekeeping Institute Cleaning Lab, doesn't recommended them since they are nowhere near as effective as standard washing and drying.
There aren't any hard and fast rules regarding how often you should wash face masks because it's really depending on the frequency of use, according to the CDC. If you want to be extra cautious or think there may be a possibility that someone is symptomatic, or has sneezed or coughed within close proximity, clean your face mask after each use.
source: https://www.goodhousekeeping.com/health/a32173021/how-to-clean-cloth-face-masks/