Use certified solar eclipse glasses with proper filters. These glasses are specifically designed to block out harmful ultraviolet (UV) and infrared (IR) radiation from the sun. Look for glasses that have an ISO 12312-2:2015 certification.
Create a pinhole projector. This is a simple way to view the eclipse indirectly. To make a pinhole projector, punch a small hole in a piece of cardboard or foil. Hold the cardboard up to the sun and project the image onto a white surface.