If you dream about a puzzle, the meaning relates to whether (or how easily) you solved it.

If you found it difficult to solve, or you failed to solve it, you are stuck in a troubling real-life situation and you don’t know how to proceed.

If you solved the puzzle in your dream, you will be able to conquer your real-life problems.