How to prevent access login page

How to prevent users from accessing the login page after successfully logging in ?