if you have a contagious condition it is extremely important to avoid training until you are not spreading the illness.
This helps to reduce the spread of diseases within the training partners as well as the rest of the members in the gym.