I have no idea how to counterattack a queen keep taking important chessmen at opening...the op
Instead of 1. e4 e5 2. Qh5 g6, play 2. Qh5 Nc6.
There's no reason for immediate g6, since f7 is not yet in danger. You defend your e5 pawn with Nc6, and if they play 3. Bc4 (aiming for the scholar mate), then you can safely counter with g6.
There's one member here that we'll have another (rather radical) solution to this: just block the opponent.
Instead of trying to attack the opponent's queen with a weakening pawn move, you should make moves that both defend your position and develop your pieces. Attacking with the queen early on is usually a dubious move because they become easy targets once you develop your minor pieces towards the center.

As a matter of fact, 2. - g6 is a typical example of how beginners play. They see a queen on h5, so they attack it, hoping that they can take it next move. They don't think about what happens if white moves the queen. They also don't notice that the queen attacked e5, because they notice nothing.
The answers that people gave above ("play 2. Nc6") are not bad, but they don't to address the real issue. The real issue is that white plays without thinking about anything or calculating anything or noticing anything.
...
The answers that people gave above ("play 2. Nc6") are not bad, but they don't to address the real issue. The real issue is that white plays without thinking about anything or calculating anything or noticing anything.
Black can't do anything about that, be it the real issue or not. But they can play Nc6.

Black can start to pay attention to the game and calculate stuff... instead of making semi-random moves, right?
Just think simply:
Why white played 2.Qh5?
Did he have something in mind?
according to my experience, those players
only use queen to take all your pieces as soon as possible, therefore, I lost lots of pieces before middlegames.
Just think simply:
Why white played 2.Qh5?
Did he have something in mind?
according to my experience, those players
only use queen to take all your pieces as soon as possible, therefore, I lost lots of pieces before middlegames.
You did not answer to my question(s). I asked about your thoughts after 2.Qh5, not your experience.
If you played without thinking, then tell it- nobody is going to bite you.
I played g6, just because I want to use a pawn to make the queen leave.
I thought I wouldn't have any big loss for a pawn even the queen take it.

Just think simply:
Why white played 2.Qh5?
Did he have something in mind?
according to my experience, those players
only use queen to take all your pieces as soon as possible, therefore, I lost lots of pieces before middlegames.
You did not answer to my question(s). I asked about your thoughts after 2.Qh5, not your experience.
If you played without thinking, then tell it- nobody is going to bite you.
I played g6, just because I want to use a pawn to make the queen leave.
I thought I wouldn't have any big loss for a pawn even the queen take it.
The only reason to give up material (yes, even a pawn) is if you get something concrete out of it. What does that mean? Well chess is a complicated game. Sometimes you give up material when you can get even more material. Sometimes you might have a strong attack and that material is meaningless. Perhaps you are lagging in development, so you just have to give up a pawn or lose the game. Perhaps giving up a pawn will make your pieces more active or something. Most of those things (except for that more material bit) is bit higher level for now.
In any case, giving up any material, even a pawn, shouldn't be done without a specific purpose. So if you can't explain it like: "I am letting this pawn go because this and this specific reason, don't just let go of the material."
Giving up a central pawn on move 3 because: "it is just a pawn, no big deal" is not a good enough reason. When you get better, you will see that in certain situations giving up a pawn can be very bad (sometimes it is not, but not even people much stronger than me can always see the difference between the 2).
You need to learn opening principles as soon as you can. Those will help you out, even in a situation like this.
Before you make a move, you have to think. You need to look hard in order to avoid these bad moves as much as possible. If you follow opening principles and avoid just hanging pieces like in this situation, you will improve drastically from your 250 rapid rating.
Just think simply:
Why white played 2.Qh5?
Did he have something in mind?
according to my experience, those players
only use queen to take all your pieces as soon as possible, therefore, I lost lots of pieces before middlegames.
You did not answer to my question(s). I asked about your thoughts after 2.Qh5, not your experience.
If you played without thinking, then tell it- nobody is going to bite you.
I played g6, just because I want to use a pawn to make the queen leave.
I thought I wouldn't have any big loss for a pawn even the queen take it.
It's not just any Pawn, it's your e5 Pawn, which helps controlling the center and blocks the e file, where your King currently is. Also you get no compensation at all for it. Also it gets taken with check, which should ring all alarm bells. These alarm bells will help you see that the rook is hanging.
The aggressive Queen may look scary, but for the moment it's just one piece without help. Just defend properly and it will become vulnerable. The impulse to kick it immediately is understandable, but you can do that later. At that very moment there is exactly one threat (taking on e5), so why not defend e5 while also improving your Knight?

one thing that might help is to imagine the “lines” that the queen has (or any other piece for that matter) in the current position
with white queen on h5 it has lines on h file, the h5/e8 diagonal and the 5th rank
in op’s position the only threat is the 5th rank and- black’s undefended pawn on e5
so- a decent way to solve this is to “defend with development”; since developing your minor pieces is a key in the opening anyways the op has a good move that develops and defends- a “twofer”- ...Nc6
generally, the best way to “counter” early queen sorties is to develop rapidly- and sometimes (not in this specific example though) the development will come with a tempo
just be aware of the scope of opponents pieces especially when the Bc4 move comes soon after
just $.02 but i still remember life in the sub 1000 and dealing with aggressive queen users; it takes time and practice to solve in a live game but it seems a road we all must travel to get better
I think I had such thought, because I did not think pawns are also important —Promotion, in chess.
And chess pushes me aggresively, proactively to think for best move, and every piece is important, not just the pieces on the back rank.

I think I had such thought, because I did not think pawns are also important —Promotion, in chess.
And chess pushes me aggresively, proactively to think for best move, and every piece is important, not just the pieces on the back rank.
Pawns are very important.
If chess is compared to a battle, then the Pawns make up the terrain.