DELAY TIMER

Hi, can you help me? I have a variable that I want to activate when I click on my object but to deactivate after 5 seconds.
I've searched but haven't found a way. Could someone help me?