Q: how do i hear notes in my head and then know what notes they  are
A: first let me clarify that it is much much more important to know what notes are relative to each other, rather than knowing the absolute pitch of one note, out in the desert