So, what happens when you die? If you are a child of God, your spirit is immediately ushered into the bosom of Jesus by His holy angels. Your spirit remains in Heaven, in the presence of God, until the time of the Rapture. When Jesus comes for His Church, He brings your spirit with Him, resurrects and glorifies your body, making it eternal in nature (1 Corinthians 15 and 1 Thessalonians 4). You reign with Christ for a thousand years and then live eternally with Him on the new earth (Revelation 20-22).
If you are not a child of God, then your spirit goes to Hades at your death. This is a place of torments where your spirit is held until the resurrection of the unrighteous which takes place at the end of the millennial reign of Jesus. At that resurrection you are taken before the Great White Throne of God where you are judged by your works and then condemned to the "second death," which is the "lake of fire" or Hell (Revelation 20:11-15).
Preparing for Eternity
One thing is certain: "Every knee shall bow and every tongue confess that 'Jesus is Lord!'" (Isaiah 45:23; Romans 14:11). Your eternal destiny will be determined by when you make this confession.
If it is made before you die, then you will spend eternity with God. If not, then you will make the confession at the Great White Throne judgment before you are cast into Hell. To spend eternity with God, your confession of Jesus as Lord must be made now.
"If you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you shall be saved" (Romans 10:9).