Take 1-2 months off from the gym. Do some other type of physical activity--bike riding, hiking, swimming, basketball.
If you try and force it, it'll probably just make matters worse. After some time off you'll feel fresh and be itching to hit the weights again.