What is traditionally done during an eclipse (grahaṇa)?
people pause eating and cooking, do japa during the eclipse, and bathe and give charity afterwards; pregnant women should follow their doctor's advice.
Tradition treats an eclipse as a special time for spiritual practice. A period called sūtak is counted before it — commonly about 12 hours before a solar eclipse and 9 hours before a lunar one — and only if the eclipse is visible at your place. During this time many temples close, people avoid cooking and eating, and a tulasī leaf or a blade of kuśa is put in stored food and water. Children, the elderly, the sick and pregnant women are traditionally exempt from these restrictions.
During the eclipse itself, japa, stotras and meditation are considered especially fruitful. After it ends, people bathe, clean the house and shrine, and give dāna — grain, clothes or money.
For pregnant women, there are many folk customs around eclipses; follow your doctor's advice on food, rest and medicines, and never skip meals or medication for the sake of a custom. Never look at a solar eclipse without proper eclipse glasses.
Source: Dharmasindhu; Nirṇayasindhu · Pregnancy: follow your doctor
Dharma Q&A — vratas, festivals & temples · Ask a Jyotishi your own question