There are many options, you just need to try everything one by one and find the option that suits you.
1. Sports. Physical activity has a positive effect on our health, on our emotional and psychological state, by the way, similarly to sex.
2. Just a break and a walk. Also a good option, but probably not for everyone.
3. You can take a break and focus on your main job or some other hobby.
4. In addition, do not forget about creativity, for example, drawing. Such an activity is always good for relieving stress.