Button can open an app and close the current?

Hello Koders,
if i have a running app , how can i let a btn to jump and open another application in phone and close the current oppened one ???