If your are getting shocked sounds to me like you have a wiring issue. I would trace the wires coming from the hot water heater and look for bare wires rubbing against something. You need to resolve that issue before you go any further.
Not sure if your water heater has a electronic ignition. If it does and it's getting power then you don't have to manually light the pilot. The tell tale sign here e would be a switch on your control panel where the tank and light switches are labeled Water Heater DSI )Direct Spark Ignition.
If you don't have DSI you need to light the pilot to the hot water heater manually by following these instructions
https://www.google.com/search?sxsrf=...GytMPmcWZ0Ao41