Several traditions have differing concepts about reincarnation or transmigration: https://en.wikipedia.org/wiki/Reincarnation
The basic concept is that the soul or spirit (what makes you who you are minus your physical body) is eternal (has always existed and will exist forever) and that you will continue to live various lives or forms of existence.
Some other traditions believe that God created souls / spirits before the earth / universe existed and that physical existence on earth is a step in God's plan for those souls / spirits: https://en.wikipedia.org/wiki/Pre-existence