I am a new player and a particular move that I have encountered multiple times playing as either black or white is:
[FEN ""] 1. e4 e5 2. Qh5 g6 3. Qe5+ Be7 (3... Ne7 4. Qh8+) 4. Qh8+
This was the mistake I made the first time I encountered this and needless to say, I have never played g6 (or b3) since. However, this strategy is still very worrying and I have found myself losing my rook multiple times. When a bishop or a knight are added, my pawn line is breached before I could shore up my defense. What is this opening called and how should I try countering it?