why would steering be hard, battery light come on and when give gas not go? on 2000 Volkswagen Beetle

turning a corner steering hard, battery light came on and pushed on gas didn't go car was running. Turned car off then fine. Same day at store when started car steering hard, battery light on would not go any where shut off did two more times now is fine.

Asked by for the 2000 Volkswagen Beetle