During the solar eclipse, make donation of medicines
During lunar eclipse, donate milk and also perform milk abhishek of Shivling
During both days – make some donation for your ancestors or just make some donation with the feeling that this donation should benefit entire nature.
The remedy for the second set of eclipses is –
During lunar eclipse, drink tender coconut water for 4-5 days before and after the eclipse, and also offer tender coconut in a temple of Maa Kali or Maa Durga for abhishek of devi maa
During solar eclipse, offer wheat flour in a bhairav temple and also offer hibiscus or palash flowers to god