Getting around Kutná Hora
More
The town is about 3 km long, so it is possible to explore on foot. This isn't particularly rewarding though, as most of it is residential and the attractions (with the exception of the Kostnice Ossuary) are concentrated at the other end of town from the train station.
There is a local bus system with buses arriving to meet the trains. If you want to return to the train station from the historical core, take the bus that says "Hlavni Nádraží" on the front window. A single ride for adults costs 20 Kč (2025) and will leave you right at the train station, though the schedule only has two buses an hour, so walking might actually be quicker depending on your timing.
There is also a very convenient, privately operated "tourist bus" that constantly drives between the main train station (Hl. N), the ossuary, and St. Barbara for 35 Kč per person. The drivers wait until the bus (which is really a mini van) fills up to at least 3 guests, then drives off. He's usually waiting outside the Ossuary, driving people to the St. Barbara Church.
Source: Wikivoyage, Kutná Hora, written by volunteers (CC BY-SA 4.0), not a government source. Prices and timings may be old; confirm before you travel.