Forum:General gameplay tips for a newbie?

So I'm a new player of NetHack. I've been playing as an elven ranger for maybe around two months, and I can never get over the Mines or the Oracle level without getting killed by a unicorn or a dwarf with a wand of magic missile or something similar. Are there any useful gameplay tips I could use?