What do I do in the middlegame?



if you ask it means you're playing chess the wrong way! Chess is all about making plans and stop opponent's plans..

I suggest you watch a good speedrun from maybe Naroditsky where he explains what he is doing and WHY he is doing it.

Watch your opponents moves, and try to come up with what their thinking and what they want to do. If you alreadly know what they are going to do then stop it. You can also look for moves that can weaken opponents squares, so an attack can become present. Start moving your pieces forward if your opponent is being passive. Hope this helps!

[Site "Chess.com iPhone"]
[Date "2025.08.05"]
[Round "?"]
[White "Riquelme20"]
[Black "Josh11live"]
[Result "1-0"]
[FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"]
[WhiteElo "1268"]
[BlackElo "1116"]
1. d4 Nf6 2. Nf3 g6 3. Nc3 Bg7 4. Bf4 O-O 5. Nb5 d6 6. Qd3 a6 7. Nc3 Bg4 8. e4 Bxf3 9. Qxf3 Nc6 10. Qe3 e5 11. dxe5 Nxe5 12. Bxe5 dxe5 13. Rd1 Qe7 14. Bc4 Rad8 15. O-O h6 16. h3 Rd6 17. f4 Rfd8 18. Bd3 Qe6 19. f5 Qe7 20. fxg6 fxg6 21. Qg3 g5 22. Qf3 Rf8 23. Qe3 c6 24. Ne2 b5 25. Ng3 Qe6 26. Nf5 Rd7 27. b3 Rfd8 28. h4 {1-0}
Here most of my pieces are where I want them to be, but now I don’t know what to do and also I know it was bad to resign there, but I wanted to end my suffering, so don’t talk about it pls.