The following means can avert the danger of running out of energy resources like coal, natural gas and oil:
1. We should make use of energy from fossil fuels carefully and that too when there is no other energy source.
2. We must make suitable technology to harness energy from the sun and waste biomass.
3. We should not waste energy rather it must be saved.