Revelation 20:12 states: "And I saw the dead, small and great, stand before God; and the books were opened: and another book was opened, which is the book of life: and the dead were judged out of those things which were written in the books, according to their works." John was allowed to see this Judgement taking place. This verse speaks of the "Unsaved." They will be judged according to their works and considering their names aren't written in The Lamb's Book of Life, they will be cast into The Lake of Fire for eternity. Satan, the False Prophet, the Beast and the Fallen Angels will be cast into that same Lake of Fire. The Saved will stand before Christ as stated in 2 Corinthians 5:10 "For we must all appear before the judgment-seat of Christ; that every one may receive the things done in his body, according to that he hath done, whether it be good or bad." There will be NO condemnation or punishment at this judgment. It's only for rewards or the loss of rewards while in the flesh.