I have electric ear plugs and electronic muffs. If I’m shooting with other people I’ll use one of those. If I’m by myself shooting targets, I mostly use foam ear plugs or regular muffs. If I’m hunting, the electronic ear plugs might be the best option for me.
Foam ear plugs are cheap and effective.