In most cases, this is because the built-in battery is empty. To charge it, plug the timer into a wall socket for at least 10 hours (overnight).
If the 10 hours are not enough, leave the timer in the wall socket for up to 48 hours.
Now press the "Reset" or "R" or "Master Clear" button with a pointed object to reset the timer. You can now use your timer as usual.