To best protect your eyes, you should choose sunglasses that block both UVA and UVB light. You don’t have to pay a premium — UV protection is available in all price ranges. There are a bunch out there. You should also select amber or brown lenses if you have macular degeneration or diabetic retinopathy. These colors enhance contrast, which can help you see better.
In addition to wearing sunglasses, you can also protect your eyes by wearing goggles when swimming in a pool or hot tub. You can also wear safety glasses or goggles when playing sports like basketball or racquetball, doing yard work like mowing the lawn or trimming bushes, and doing home repairs like painting or sanding.