I didn't know what should I do here and actually it's bad moves
There is a set of moves that are far better than the ones presented here in this puzzle. I think best would be...
1. Knf5! Qf8 (or any other queen move to save the queen which ultimately leads to a forced checkmate)
2. Rxh7+ Kxh7
3. Qf5+ Qf6
4.Qf6 checkmate