No secret here, but coding was a hobby for me before it was a career, so coding all day for work and then spending the evening coding is pretty nice and sort of relaxing.
This changes if work has been stressful or intense, so those days I tend to code less in the evening, but I find it’s all about listening to your body and mind and not pushing yourself past your limit and into burnout.