Lose of Libido After Being Sick

Patient: I am an 18 year old male, I workout daily and have for several years. The past few weeks I have been sick and haven’t been able to workout or do very much. In these past few weeks my libido has gone way down and the amount of semen I produce when ejaculating has decreased a great amount as well. What could cause this; is it due to the sickness or change in workout schedule?

Symptoms: Coughing, sore throat, lack of energy, sore muscles, throwing up

Doctor: