Please contact your ticket provider immediately with the proof of purchase (receipt). They will help you. We will be able to find a solution in most cases.
Often you can easily glue
the stub back on. If there is major damage (e.g. the barcode is damaged), please contact your ticket provider.