It is hard. Not to yell or confront someone who being a jerk about COVID19 or any situation.
The best thing to do is not to engage– and if you must do so carefully and in private.
You can make your point and maybe even prompt this person to change their behavior.
Be cool.-and you will feel better afterwards. Be thankful that you did it right.