Call function from different frame in timeline

Quick question… I have a function on frame 2 and I want to call on the function in frame 1 how do I acheave this?

Thanks in advance
hth4