It’s very convenient to travel by train or metro in South Korea.
If you have a chance, take a high speed train KTX (Korea Train Express). They are not so cheap, as slower trains, but nicer. 🙂
You can buy tickets at the counter in the train station, from a ticket machine or online.