Summary
In the metro and RER, go to a ticket or information desk and ask the agent to test your ticket. If it is not working properly, it will be replaced at no cost.
On a bus, show your ticket to the driver; if there is an anomaly, the driver will validate the ticket manually.