An effective workout routine to lose weight is only one part of a planning process. Weight gain is only a consequence of a series of activities that often lack planning.
Random sleeping patterns, eating schedules and workouts do not create random results, they in fact, create predictable results based on the plans of those who disrupt your sleep, market the food you eat and sell you the workouts you may or not follow.
Your participation in a planning process is not a matter of choice. You are already engaged. The only question is if you wish to participate to the best of your ability in the plans that you set in motion.
A workout schedule must provide you with templates of how to take charge of your planning process based on proven methods of success.