If you try to gain weight your focus should be on diet, as for training try to do it in the morning or afternoon don't eat a heavy meal before going (eggs and some fruit for carbs should be enough), aim to workout for 45min and have your exercice plan ready your total set numbers should not exceed 20 with moderate volume and weights