IF your ticket is from A to C and passes via B, then get the boarding boading point changed to B at least 24 hours before.
If your ticket is from A to C and B is before A(not between A and C), then buy a general class ticket and pay the fare from B to A.
This is applicable for all trains other than Duruntos.