Go to Settings > Chats > Backup & Restore. You can choose between backing up your chat history automatically or manually at any time.