How do i do it in a real match?
Take the pawn first.
Black is in check.
EDIT: Oh, I bet you meant e4 takes f5 instead of Qh5. My bad.