Safety Equipment and Clothing
Like many activities, shooting requires safety equipment. Many ranges will insist that shooters wear hearing and eye protection.
Shooting safety equipment is generally inexpensive and is commonly available. Safety equipment can be easily replaced if lost, unlike your hearing or eyesight. Even a .22 long rifle cartridge, especially if fired indoors, produces enough sound to affect your hearing.
Always use hearing and eye protection and proper clothing when shooting.
Use headphone-type hearing protectors if you are shooting a rifle or pistol. Headphones provide reasonable sound protection and can be used for years.
Use earplugs if you are shooting a shotgun, since headphones affect how a shotgun can be mounted. Some earplugs are disposable after one use; others are reusable; and some can be specially molded for your ears.