Changes in the Sun's output can endanger health, power supplies and satellite systems. To prepare adequately for such events and to make judicious use of solar energy we need to investigate the Sun's 4.7 billion year history.