Strapi clears data and fails to connect

I summarize my problem quickly. I made an online database with strapi via heroku. It is a photo gallery with categories. After a few hours, strapi empty all my data and impossible to reconnect to my account