Firebase database

hi. I fixed the previous problem. there is a new problem. I enter the application, I collect points, it is reflected in the firebase with the same, but when I exit and re-enter the application, the score becomes zero. I want the reflection of the points collected in firebase. how can i solve this problem. please help me. thank you for now.