Go to the station 2-3 hours prior to the journey time. Check the reservation chart ( you can purchase a platform ticket to enter the platform). If you see any vacant berth, go and purchase a General Class ticket and then keep a look for the TT to get yourself a berth .
You have to only pay the difference of fare.