Hey there,

Generally speaking, for me, the more I immerse myself in the dream and its various sensations, the more solid and grounded the dream becomes.

For that reason, I tend to advise dreamers starting out to make their first lucid dream goal to simply explore the dream. That will immediately shift your attention to the dream and thus ground it, making it more stable and vivid. The opposite, focusing on abstract things like techniques, dream ending, or just 'wow I'm lucid', shifts your attention inwards, away from the sensations around you, and can effectively make your dream unstable and end.

Just my 2 cents,

-Redrivertears-