WAG54G speed decreasing

I have a WAG54g v1.2 with the 1.03.1_beta1 firmware. Recently the speed tends to decrease down to 1mbps then stop completely, this can make it near impossible to play online games or watch movies over the internet. How can I stop it doing this?