Wrist rests work great for me, maybe everybody's body reacts differently.
What helped me a lot was 1. learning touch typing (a lot less strain on fingers & wrist), 2. using vim shortcuts which leads to less mouse usage (I'm just a basic user using basic shortcuts but even then it's noticeable) 3. exercising multiple times a week.