Make it impossible to go to the previous one

So, I have a Login Page and a Home Page. Once I do the login and I’m directed to the Home Page I want to make it impossible for the user to go to the Login Page (when I click on the default previous button of the phone, it goes back to Login Page).

What is the best way to do this?

TIA