You do a reality check such as pinching your nose, if you can breath whilst your nose is pinched then your dreaming but if you can't breath your normally awake, there are various methods to help determine whether you are awake or not