AUDI Q7 Quattro 2009

My gas light was on and near empty, so I put $90 in. I drove away and the car still said it was on empty. I pulled over, checked to be sure the gas cap was on and tight and it was. I have continued to drive the car, which means gas is in it. Why is my gas sensor/ gauge not working and how do I fix it?