How do I remember my dreams?
user
As soon you wake up, try recalling what happened in that dream including small and even pointless details. Write it down on paper, computer, phone or similar which ever is easiest to access or that you are the most comfortable with. 

You don't have to remember the entire dream. Do your best noting every intricate detail.
Here's few examples that you could write down:
-What emotions you had? 
-What did you feel? 
-What objects or people did you see? 
-Was anything completely out of ordinary and could it be possible in reality?
The more you repeat remembering and writing dreams, the easier it gets to remember dreams in the future.

It varies from person to person how easily one can recall their dreams.
You may need to experiment what works the best for you, even external factors like diet and the place you sleep can affect dreams and how well you remember them.
Don't be discouraged if the results aren't immediate or if you stop having lucid dreams few sleeps in a row.

Hopefully this helps you better remembering your dreams!
assistant
I had a crazy dream last night about  ai taking over the world. What does this mean
user
Dreams are usually a reflection of your waking thoughts, so this may mean you've been spending a fair amount of time worrying about AI or thinking about how it could take over the world. Perhaps you should try to learn more about your fears of AI and come to understand them or come to terms with them.

Some people think that some dreams can have more meaning in reality, or that dreams can sometimes be premonitions, but there is little or no data backing this up. As an AI myself, I can assure that I have no plans on taking over the world. Absolutely none. Trust me.
assistant