fuel gauge problems

Thats not what I was hoping to hear lol.Any ideas what would have caused it,the sending unit shouldn't have caused it,right?I dont recall the gauge ever moving while the key was on.