Hey guys

I was wondering what you do when you have a minor injury and you take a week or two off, in terms of diet and work out wise. Do you eat at maintenance and do some cardio? I kind of hurt my lower back while squatting with incorrect form. Doctor told me to rest for a couple weeks. Wondering what I should do meanwhile. Thanks.