sex and training

Can sex hinder physical exertion? Can it enhance it? What does sex do to T levels?