To bring the strongest case possible, you need to follow your doctor’s advice. If you don’t, and the defendant finds out about it, they can argue you have aggravated your injuries and are at least partially responsible for the pain that you feel.
We realize that everyone needs to work, and staying at home could make things very difficult financially for your family. Nevertheless, insurance companies have been known to send investigators to spy on injured victims and record them leaving the house. They then use this video evidence as proof that you aren’t injured.