Or create a new event and an event handling function. Then you don't have to think about it anymore and it will execute itself without being part of your running code.
For the how, I can really advice checking this thread:
Thread on event handling with a timer
For the how, I can really advice checking this thread:
Thread on event handling with a timer