The studies show you can UV-C them (it reduces the physical strength of the mask but not the filtration ability, and can be done many many cycles: I think I saw at least 20); have you actually tried searching for how to sterilize masks yet?
NYTimes.com: As Coronavirus Looms, Mask Shortage Gives Rise to Startling Solution, https://nyti.ms/3b8C1HQ
[0]: https://www.who.int/emergencies/diseases/novel-coronavirus-2...
[1]: https://www.crr.columbia.edu/research/using-power-light-prev...