Optimal workout duration

What is the optimal workout duration? How many times a week should I train and what should be the recovery time between workouts?

What is the optimal workout duration? How many times a week should I train and what should be the recovery time between workouts?