In Melvor Idle 2, level the skill your next quest calls for first. If you're preparing for combat and can already cook, start with Cooking to build up food. When you're ready to fight, train the combat style you plan to use: Melee, Ranged, or Magic.

Choose a skill for your next goal
If a quest gives you a skilling objective, use it to decide what to train and when to move on. Between quests, pick an item you want to make and check what it needs. Train Woodcutting if you're after logs, or Smithing if there's an item you want to make and you already have the materials. Move Farming up your list when there's a crop you can grow and use.
Check your action before training offline
Once you've picked a skill, use Current Action Tracking to see how much skill XP the action earns per hour and which items it uses or produces. If you're training for a level requirement, compare XP per hour across the actions you can do. If you need an item for your next goal, look at how quickly the action produces it and what supplies it uses. Progress continues while you're offline, and the Event Log lets you review what you gained when you return.