To view a solar eclipse safely, you can use eclipse glasses, which decrease visible light and block almost all of the sun’s ultraviolet light and infrared radiation, thereby protecting your eyes. The glasses must meet certain standards to be safe. Do NOT use your regular sunglasses.
Make sure that your eclipse glasses are labeled “ISO 12312-2” or “ISO 12312-2:2015.” They should also come from an authorized dealer or reputable manufacturer. If the glasses are ripped or damaged in any way, then do not use them and obtain different eclipse glasses or try an indirect viewing method (explained below).
NEVER look at the sun through binoculars, a telescope, or a camera while wearing a handheld solar viewer or eclipse glasses.