How do I call the methods like push and pop?

Thank you.