The first thing to remember about observing an eclipse is safety. A lunar eclipse — an eclipse of the Moon — is perfectly safe to watch with the naked eye; you're only looking at the Moon, at night, which is quite safe. A solar eclipse is potentially dangerous, however, because viewing a solar eclipse involves looking at the Sun, which can damage your eyesight.

This page therefore contains some information on eye safety during a solar eclipse.

The Danger of the Sun

A solar eclipse can be viewed safely with the naked eye only during the few brief seconds or minutes of a total solar eclipse, when the Sun itself is completely obscured by the Moon. Partial eclipses, annular eclipses, and the partial phases of total solar eclipses are never safe to watch without taking special precautions.

Even when 99% of the Sun's surface is obscured during the partial phases of a total eclipse, or in an annular eclipse, the remaining sliver of the Sun is intensely bright — just as intense as at any other time — and cannot be viewed safely without proper eye protection. Failure to use appropriate filtration may result in permanent eye damage or blindness.

Looking at the Sun through any kind of optical aid (binoculars, a telescope, or even a camera's viewfinder) is extremely dangerous, and can cause permanent blindness.

There is no pain or discomfort when the retina is being burned, and the resulting visual symptoms do not occur until at least several hours after the injury has occurred; by which time it is far too late.

Everybody — particularly children — should have a chance to see a total eclipse of the Sun, because it's a very rare and inspirational thing to experience this first-hand. Professional astronomer and science communicator Phil Plait makes this case wellSpecial report: Let your kids see the eclipse!
An article by professional astronomer and science communicator Phil Plait, making the case that children can and should be allowed to safely view a solar eclipse. [Phil Plait (SyFyWire)]
http://www.syfy.com/syfywire/special-report-let-your-kids-see-the-eclipse
.

However, safety must come first; so if you are not confident that you, or people you are responsible for, can correctly follow the safety precautions outlined here, then it would be best to stay indoors and watch the event on TV or the internet.

Direct Viewing

To look at the Sun directly, you must use proper solar viewing protection, such as eclipse glasses. Sunglasses do not provide anything like adequate protection, as they do not block the wavelengths of light which are likely to damage your eyes, or reduce the intensity of the visible light sufficiently. Since much of the damage is done by invisible infra-red light, the fact that the Sun appears dark in a filter or that you feel no discomfort does not guarantee that your eyes are safe. In fact, sunglasses can make it worse: as they block visible light, the pupil in your eye widens, letting in more harmful UV and infra-red light.

Properly designed solar filters, made and certified to appropriate national safety standards, are therefore the recommended protection for direct viewing. The relevant standard is ISO 12312-2, so look for that mark. Genuine eclipse glasses made before 2015 may have been made to an older standard; they are probably fine, but still I would recommend trashing them and getting a new pair. They cost pennies, after all.

These glasses should be much darker than regular sunglasses; they need to filter out ultra-violet, infra-red, and 99.997% of the visible light. You should basically not be able to see anything through them, except very intense light sources — like the Sun itself, or a bright halogen or LED bulb, and even that just dimly. They should be reasonably new, and in good condition. If in doubt, or if they appear to be damaged at all, destroy them.

Various other ad-hoc solar filters are sometimes discussed; but in practice these can be dangerous, and so can't be recommended. Even if they seem to dim the Sun to a low level, they may be letting through invisible infra-red radiation which could be permanently harming your eyes. In any case purpose-designed eclipse viewing glasses are readily and cheaply available, so it's simplest and safest to get the real thing.

Fake goods of all kinds are becoming increasingly common; unfortunately, this can apply to solar viewing glasses too. It's terribly easy to make a pair of glasses with sub-standard tinted plastic, and print the relevant certification marks on them. So be sure that you obtain whatever viewing aids you use from a reputable source. The American Astronomical Society has some good advice on thisHow to Tell If Your Eclipse Glasses or Handheld Solar Viewers Are Safe
A useful article on obtaining and identifying safe-to-use eclipse glasses. [American Astronomical Society]
https://eclipse.aas.org/eye-safety/iso-certification
.

Indirect Viewing

Viewing the Sun indirectly, by projecting its image onto a screen, is a safe way to enjoy any solar eclipse. You can make a projector with a simple pinhole, or with binoculars or a telescope, as described in Observing Eclipses. However, never look through the projector — only look at the image on the screen.

Note that a screen refers to a matte surface, such as a white sheet, or a piece of paper, so that the Sun's image can be seen by anyone looking at it from any angle. Looking at a reflection of the Sun in any shiny surface is basically the same as looking directly at the Sun, and as dangerous.

Totality

In spite of these precautions, the total phase of a solar eclipse — when the Sun is completely covered by the Moon — can and should be viewed without any filters. The naked eye view of totality is safe and is the most awe-inspiring astronomical phenomenon you are likely to see. Just remember to look away and put your eclipse glasses back on as soon as the Sun returns.

Eclipse Lunacy

There's been such hysteria — allbeit well-intentioned — stirred up about eye damage, that many people are convinced that it is specifically solar eclipses that cause eye damage; that is, at any other time of year, looking at the Sun is OK. This is not true: looking at the Sun at any time for more than a second or two can cause permanent eye damage.

Finally, I've heard some truly daft ideas for eclipse viewing, such as looking through a sheet of Perspex, or in a reflection in a bucket of water. I have no idea where these come from, but these are not safe! If you can see the Sun clearly and brightly, whether directly, in a reflection, or via Perspex, then it's dangerous.

NEVER attempt to look at the Sun through a telescope, camera, binoculars, or any other optical aid!

For more information by real experts, I highly recommend that you read these guides:

Eye Safety During Solar Eclipses, by Fred Espenak (NASA Goddard Space flight Center)
An essential guide to safety while viewing a solar eclipse, from the experts at NASA.

Eye Safety During Solar Eclipses, by B. Ralph Chou (NASA Goddard Space flight Center)
A more detailed look at the safety issues in observing solar eclipses, by B. Ralph Chou, Professor Emeritus in Optometry and Vision Science at the University of Waterloo.

B. Ralph Chou, Professor Emeritus (University of Waterloo)
A profile of Professor Ralph Chou, with links to his writings on eye safety with respect to optical radiation.

Solar Eclipses and Public Education, by Professor Jay M. Pasachoff (Williams College-Hopkins Observatory)
An interesting article on the difficulties of properly communicating the dangers of eclipses, by Professor Jay M. Pasachoff, Field Memorial Professor of Astronomy at Williams College, MA.

OK, Look Directly at a Total Solar Eclipse, by Dick Land (Williams College-Hopkins Observatory)
A discussion on safety in solar eclipse viewing, by Dick Land of The Schepens Eye Research Institute.

Special report: Let your kids see the eclipse! (Phil Plait (SyFyWire))
An article by professional astronomer and science communicator Phil Plait, making the case that children can and should be allowed to safely view a solar eclipse.

How to Tell If Your Eclipse Glasses or Handheld Solar Viewers Are Safe (American Astronomical Society)
A useful article on obtaining and identifying safe-to-use eclipse glasses.