How do I call a function in setup() method?

I need to call a function from methods:{} in my setup() method without any event. I need to execute this function when the page loads. How would I do it?

Thank you in advance.