Apparently zapping one another - Pikachu, I mean - is a part of their language, so...it can help to have other electric types around it's safe with, but I'd say the best thing to do is training in the mornings, maybe? Enough to wear him out a bit for really big shocks?
video;