Just moved in and i have bebt on the meter

need help, I have just moved in to my new flat, I received gas card & elec key, put £30 on both and the gas took £21 for debt which is not mine but the previous tenents, how do I get that back ?
thank you