The complete solution will be shown here with screenshots from official website of Indian railways.
You’ll get screen like this:
Now, choose source station, destination station, class, journey date etc. from the form and click on “Get Details” button on the bottom.
The 4 buttons at the bottom of this screen are important links as they will provide you more details about the train like checking seat availability, full fare, schedule and running status. Use them as your requirement.