This is the big problem about anti-maskers; let us say that you have Covid, the purpose of a mask is to prevent you from infecting others.
Therefore, it isn’t an issue about your own personal freedom; it is your ethical duty not to infect or harm others.