The US president said that wearing a mask was not for him, despite advice from health officials.