How do you use timers?

I've been making a game but I can't figure out timers which are crucial to development. I've tried all I can, but the most I've gotten is an error message saying that the callback must be a function. I don't understand this as I did put a function for callback. My code was pd.timer.new( 5000, Act(1) ). I DID have the update timer piece of code but I just don't know how to work the timer. Can somebody help me, please?

Best Regards, From Finley.

Thank you so much! It means the world to me that you tried to help and the solution is working stupendously. Thanks :playdate_heart: