if your concern is corona, there's no need to do any of this for most people, most of the time (i.e., not a front-line worker). the likelihood of getting live corona on the mask is pretty low, and any corona that does get on the mask will die naturally overnight. certain situations like going to a party might warrant it, but in that case, just throw the mask away and use a new one next time.
if you're more worried about other bacteria and viruses, it's a little more relevant, but not much for most of us. despite the endless news coverage, it's just not worth worrying about unless you're often in elevated risk situations, like being a medical worker. just wash your hands occasionally (particularly after situations like going to the bathroom or handling raw meat).