Beginners can train for hiking by focusing on their baseline aerobic fitness. You can do this by spending a lot of time in heart rate zone 2, which is considered "light" cardio. If you have a heart rate monitor, you'll want to exercise at 60-70% of your maximum heart rate. Plan for 2-3 weekly cardio training sessions in zone 2, slowly adding time each week as you go.