Good question.
Catholic Answers
When we die, we undergo what is called the particular, or individual, judgment. Scripture says that "it is appointed for men to die once, and after that comes judgment" (Heb. 9:27). We are judged instantly and receive our reward, for good or ill. We know at once what our final destiny will be. At the end of time, when Jesus returns, there will come the general judgment to which the Bible refers, for example, in Matthew 25:31-32: "When the Son of man comes in his glory, and all the angels with him, then he will sit on his glorious throne. Before him will be gathered all the nations, and he will separate them one from another as a shepherd separates the sheep from the goats." In this general judgment all our sins will be publicly revealed (Luke 12:25).
Hope that is what you were looking for.