It is preferable to exercise in the morning, as morning exercises achieve better results, help burn more, and fill you with activity and vitality, as biology and psychology have proven this, but there is no bad time to exercise. Do it whenever you have the opportunity.