First and foremost who arrested you
a) Railway protection force or station master?
b) If railway protection force has arrested you and filed the charge sheet, then you do not need to worry and instead can rely upon the judgment of high court of chattisgarh in Criminal Revision No.37 of 2004, it is said that Officer of Railway Protection Force is not entitled to initiate prosecution by filing chargesheet under Section 173 of Cr.P.C. for offence punishable under Section 143 of the Railways Act, 1989.
So you can use the said judgment in case Railway protection force has arrested you and contest your case and win your case also.
c) If station master has arrested you, there are other defences available to you under Cr.P.C and you should contest the case. Please contact a good criminal lawyer in mumbai and get yourself out of the case.
d) Please note that there are many cases filed u/s143 of Railway act and most have them have resulted in Acquittal because of lack of evidence etc.
e) Also in 1 of the case(in chattisgarh again) a person was acquitted based on the following argument :-even if the e-tickets were seized it will not amount to offence as enumerated u/s 143 of the Railways Act, 1989. It is contended that the e-tickets were issued by IRCTC and it is not at all a case that fake tickets have been issued. It is further contended that the money has passed into the account of Railways through others bank accounts and no cash transaction has actually been effected with the Railways. Therefore, it is stated that the incident of fraud or selling fake tickets do not arise at all. It is stated that the tickets which were issued were also not to the persons of the fake identify or any fictitious persons but it was issued to the genuine persons who had approached the applicant to get the tickets and money has been paid through their account only. Therefore, no criminal act can be attributed to the applicant.
Hope this information is useful.