@jenur hi OP! if it is a pinched nerve and is still painful, do take time to rest based on your doctor's suggestions & let your back heal. it's better to do nothing and rest than get back into it too quick.
when the pain subsides, you could get back into working out and focus on form with...