If you're taking public transport, the bus is a better option. The train station is not centrally located, you will be taking Cercanías, which are also known as "pueblo-hoppers" as they stop EVERYWHERE unless you get on certain ones, and the bus station is at the end of the main (now pedestrian) street in Segovia on Paseo Ezequiel González...very close to everything.
Although I prefer train travel to bus travel, in this instance, and in the trip between San Sebastián and Pamplona [totally unrelated], I recommend the bus.
_________________________
Ongi etorri!