Usually when you become lucid, your brain usually tries to wake you up. However, there are way to counter this, and they are called dream stabilization techniques. Here are some popular ones.
1. Touch: Touch everything around you the minute you become lucid Touch the floor, the walls, buildings, grass, act. This will help "anchor" yourself in a dream.
2. Spinning: Once a dream starts to look blurry or less vivid, spin around rapidly with your arms out for a good 10-20 seconds. You might end up in a completely different place, but the dream will re-stabilize.
3. Look down at your hands and yell "Clarity Now!" when you look up, things should look more vivid and stable.
4. Diving: When a dream is beginning to end, or whenever, dive into the ground. You will probably reach complete blackness, but than a completely new dream will open up. This is similar to DEILD in the sense that you can chain dreams.
5. Rubbing Hands: If you become lucid in a blurry dream, or the dream is ending, rub your hands vigorously and the dreamscape will re-stabilize.

Note that not all of these techniques work for everyone! Try each one to see what works best for you. Hope this helped!