Depending on circumstances (e.g. on a train that requires reservations), you may incur an extra charge but probably won't be fined. If the conductor discovers the error, then your chances of a fine increase. Bottom line is that getting on the wrong train is your mistake and you'll incur the cost of any changes.