Over three hours late at boarding?
If you choose not to travel because the train is more than three hours late, full fare refund may be available under the applicable rules. For an e-ticket, file the correct TDR before the train actually departs. Check your ticket’s conditions and deadlines.
Official IRCTC refund rules, sections 7 & 14