How to prevent your mask from knocking off your hearing aids

We normally wear a neck gaiter, because the standard masks with ear loops can knock off our hearing aids. Unfortunately, when we have a medical appointment the nurse either puts a cheap standard one on top of my gaiter or makes me replace it with a standard one. Fortunately, there are effective alternatives. One is to get a mask with elastic bands that go around your head instead of around your ears. Others include tie-on masks (not very convenient, though), N95 respirator masks, sweatband with attached buttons, and barrettes.