How do I stop my MacBook Pro from buzzing?

My MacBook Pro occasionally makes these weird buzzing/clicking noises even when it isn't on. After awhile, it usually stops but sometimes it takes longer to stop. It sounds like it's coming from the vent thing connecting the keyboard to the screen. Is there any way that I can stop this from happening? What should I do? Thanks!!!

Check out this article here.