How do I link a button I created in theme customizer to a function?

How do I link a button I created in theme customizer to a function?