Debt on Account?

I started with bulb a couple of months ago when I moved into a new property and have been topping up my gas on a regular basis. Sometimes I go over into the emergency credit and when I put money on to cover it, it takes the em cr off that I owe then it takes a debt, only small amounts each time. Why? I pay as you go so I cant have any debt?

Please can you explain