It is not recommended that most athletes take a bath immediately after training. But if you are only a member of the gym and not a professional athlete, it is very appropriate to take a hot bath 5- 10 minutes after the exercise.
I don't know what kind of exercise you are taking part in, but now the advanced sports concept requires active or passive stretching and relaxation after exercise, and this time should be 5- 10 min. In other words, you can take a shower after practice. This can reduce fat and eliminate fatigue!