Dreams are not supposed to start until you've been asleep for more than an hour. When you don't get enough sleep at night, your body can jump straight into the dream stage of sleep. But you won't be well-rested.
For better sleep, try turning off all electronics, including your phone, an hour before bed to unwind. The light electronics give off can trick your brain into thinking it’s time to be awake.