No, you won’t lose your chats and media when you migrate your account from WhatsApp Messenger to WhatsApp Business. Your previous account will be restored automatically during the setup process. However, it is important to take a backup of your WhatsApp before you start the migration. This can be done from Settings > Chats > Chats backup.