It's called precognition or precognitive dreams.
Don't run off and try to be a hero. We don't get hints about the possible future because we have been "chosen" to prevent them. This isn't Hollywood. Natural abilities such as intuition, spiritual senses, precognition, and presentiment (doom gut-feeling before something bad happens) will pick up on random energy/information that you probably don't care to know. Sometimes it does pertain to us and then it is up to you to decide what you want to do. That's why people work to control such abilities/senses. Wild gifts spell randomness (I did not mean for that to rhyme).
Also, I would like to mention that the future is not written in stone. There is no such thing as "future telling" only "future guessing" based off of the present course. But that can change very easily.