Winchester is a 55 minute train ride from Waterloo then a short walk from the station to the cathedral, basically straight forward then bearing right. There are taxis at the station for those teetering in high heels.
If you’re driving, look up the car parks. The Colebrook street one is the nearest- come out of its exit straight into the back passageway to The Close.
The Winchester Cathedral visitors’ page may help.