Pressing Back Button Opens Sign Up Screen

Hi,
I have a Sign Up screen in my app, When someone sign up and redirects to the home screen pressing back let them back to the sign up screen.
So how to close the sign up screen completely after user signs up?
Thanks