getting better rest, meditation, exercise, hydration, mental focus exercises like military box breathing, and good nutrition just to name a few. it depends on the caause of lack of productivity.
if you cant focus well, a fidget toy may help. if your sluggish, better rest may help. and if your depressed meditation may help. i hope THIS helped!