watch a professional show.
If a fireworks-related eye injury occurs, the AAO outlines what to do: Seek medical attention immediately. Do not rub the eye. Rubbing may make the injury worse. Do not attempt to rinse the eye. Do not apply pressure to the eye. Do not remove objects from the eye. Do not apply ointments or take pain medications before seeking medical help.
More information
The U.S. Consumer Product Safety Commission has more on fireworks safety.