I've heard that the problems I've experienced with the buzzy hum on my guitar when I'm not touching a metal component is because it isn't grounded properly. So will anyone here care to tell how to properly ground a guitar. Also could this be because of some other problem rather than grounding? If so, how do I solve this.

Thanks in advance