I've had some pretty bad injuries while on. If it's a small muscle like a bicep, perhaps you can still gain size in chest and legs.
If it's a little more serious, you could switch to getting cut. (more diet and cardio)
If it really effects all your workouts, drop back and punt. Do PCT and regroup.
The last thing in the world you want right now is to make worse. In that case let it totally heal!
Just my .02 graybass