hi, sorry to hear your beardy is not doing too well.
what is the temp of his/her basking spot?
what are you using to measure it?
what
UVB light are you using? is it a bulb, tube etc?
what do you feed your bearded dragon and do you give veg? please be specific on his/her diet.
what calcium/vitamines are you giving your bearded dragon and how often?
what substrate are you using in the vivarium?
this might seem alot of questions but it can rule out certain problems.