I've had to work 12+ hour shifts wearing masks since mid March. It's taken me a lot of experimenting to figure out what works best. I can't use the ear ones for longer than an hour without getting sore, so I use the tie-back ones. Those are great but also won't stay put very well (in my experience) without a pony tail. That is fine for me because I need to have my hair up all day for my job, but if you don't like having your hair up, that poses a different challenge.
I have found that the ones with metal are the only ones that won't fog my glasses. They don't rub my face at all (even for my 12+ hour shifts) so long as I form them correctly. I have found that the home-made ones sometimes use larger, stiffer pieces of metal and aren't as comfortable, but the surgical masks with the long, thin, flexible wire work just fine. What kind are you using?
If you use the tie-back in conjunction with the flexible metal, you can adjust it so that it's tight enough to prevent slipping and glass-fogging but loose enough to prevent rubbing. This is what I have found works best. Good luck!