Points system in Realtime database

In my app, I am making a followers system that would, each time a person is followed, add points to his/her account. I am using Firebase’s Realtime database. How can I do that?