The easiest way to get to from Cusco to Machu Picchu is to take the train to Aguas Calientes (the town located a few miles from the site)
The other way to get from Cusco to Machu Picchu is to walk as part of a multi-day Machu Picchu tour. Thousands of people hike to Machu Picchu each year.