While regular physical activity improves immune function and lowers respiratory infection risk, sustained and intense exertion may have the opposite effect. As you go from inactive to active, infection risk declines, but at a certain point, overtraining and excessive stress can increase the risk of infection by impairing immune function.