Don't know your exact situation, so take this free advice for what it's worth ;)
With electric guitar, the hum is always coming from your body. Your body acts as a antenna/capacitor and picks up all kinds of EMI hash from lights, computers, phones, etc. When that happens your body starts...