I heard that wearing your mask doesn't prevent you from getting it, it prevents you from spreading it if you have it, so he would have had to been around someone that wasn't wearing a mask. Him not wearing a mask probably didn't have much to do with the fact that he now has it. But everybody has their different opinions.