There are many ways to do that. To name a few, you can create a strong and secure password and change it once in a few months. Avoid saving your password, especially on public devices. Make sure you log out of Facebook on any device if you are not using the website. Limiting your posts and not accepting friend requests of strangers will also help you to secure your account.