You need to rest. But you also need to stimulate your muscles sufficiently enough to force them into growth. You also need to feed your muscles with adequate nutrition.