Goto Irctc website and do the reservation and select the button plan my travel and also type for which place to final destination u want to go (ONLY station name), which date ,which class (AC, Sleeper etc) and What is the quota u want to book
and select the train and made the payment by online and take the printout of the ticket
this is the way to reserve the train ticket in the online reservation