if you log your dreams and recognize patterns, you will find that you can realize your dreaming at some point.
like for me a few things always alerts me to dreaming:
*an old cat of mine tends to not be black in the dream
*cars always seem to be stuck in reverse when driving
*it'll be bright daylight when it's midnight
*completely nonsensical words whenever reading something
*sudden onset of bad weather out of nowhere
*having long hair looking in the mirror
*legs getting unusually tired fast
any of those now and I realize I'm dreaming, which makes for some interesting situations. though mostly just end up transitioning to waking up soon after, like I start feeling my bed along my body and then awake.
haha I remember one time with gibberish words. I was playing a gambling machine where you complete words under a timer limit.
first word was 'yam', which is real
second word was 'scramp', which isn't a word, but close
third word was 'myabloxiqi' which was a wtf moment
fourth word was 'mgxzzbtfdnmq' which I then realized I was dreaming
not sure if the random letters are significant at all. but I could remember it since I recognized it was a dream and awoke shortly after.