At your level I will recommend to take 2...exf4.
how to play against king's gambit?
I'd recommend the Modern Defense with. 1. e4 e5 2. f4 exf4 3. Nf3 d5.
I just feel the way to meet gambits is by not giving the gambiteer what they want. They want an action movie (where they're the hero) so you give them, eg, an art film.
how to play against king's gambit?