well, you're lucky he wasn't a great player and that he gave you a knight for free!
you have to either learn a good king's gambit defense (like the fischer or modern) or a counter gambit like d5. unfortuntaly you can't just play the king's gambit "naturally" by making normal moves or you end up badly.
I have only been playing chess on a daily basis for a few months now, so I am a pretty weak player. The following game was my first encounter with the King's Gambit. I was black and I declined the Gambit because I value position much more than material and one of my biggest peeves is stacking pawns. I was wondering if you all could give me some suggestions on how I may have dealt with the situation more effectively. Thanks for the feedback!
If you can think of any suggestions outside of the gambit opening as well, please feel free to respond. Thanks again.