We recommend doing the guided tour of Machu Picchu first as the hike to the Machu Picchu Mountain/Huayna Picchu is more exhausting and you won’t enjoy the guided tour that much.