How Do Solar Flares Impact Earth