Well I think there is only one answer: take some time to think, and then take the game as a great learning experience.
How do you deal with gambits you have never encountered before?
If it is a gambit you don't know, don't accept it.
I disagree.
Most gambits are fundamentally unsound and trade material for a dubious lead in activity. You should play against them in accordance with your overall playing style.
If you're a sharp, tactical player, take the material and rely on your wits to combat your opponent's activity. You will likely have an appreciable advantage if you can hold on to the material. And if you're defensive, ignore the offering and develop.
The only good way to learn how to play against gambits is to do what is most comfortable to your personal style and play that way every time.
If it is a gambit you don't know, don't accept it.
I disagree.
Most gambits are fundamentally unsound and trade material for a dubious lead in activity. You should play against them in accordance with your overall playing style.
If you're a sharp, tactical player, take the material and rely on your wits to combat your opponent's activity. You will likely have an appreciable advantage if you can hold on to the material. And if you're defensive, ignore the offering and develop.
The only good way to learn how to play against gambits is to do what is most comfortable to your personal style and play that way every time.
What if it's a trap. I had a gambit that involved somebody instantly being able to play Qh5 and I ended up losing material. I cant remmeber the name
Naturally you should take into account that your preferred response is a losing move and attempt something different. I haven't heard of this gambit, though. be interested to see it.
Always try to be two steps ahead. Look for possible checks and attacks (for both you and your opponent) and also be wary of discovered attacks. Fork your opponent if possible, and avoid blunders and being forked. Always make sure the king has a spot to move, especially when castling (I can't tell you the amount of times I have lost with that). Use your queen wisely, as it can easily be trapped if you aren't careful. Just play as if you know what you are doing.
If you've played chess, there's a good chance you've been absolutely demolished by a gambit that you have no idea how to deal with.
My question is, how do you deal with these gambits/traps? Bobby Fischer says that the first step to refute a gambit is to "accept it", but at my level, I am not aware of these traps at all sometimes.