What went wrong?

Sort:
NikAziz
[Event "?"] [Site "?"] [Date "2017.07.12"] [Round "?"] [White "?"] [Black "?"] [Result "1-0"] [ECO "B15"] 1. e4 c6 2. d4 d5 3. Nc3 dxe4 4. Bc4 Nf6 5. f3 exf3 6. Nxf3 Bg4 7. Bxf7+ Kxf7 8. Ne5+ Ke8 9. Nxg4 Nbd7 10. Nxf6+ Nxf6 11. O-O Qb6 12. b3 Rd8 13. Be3 Kd7 {Toilet} 14. Na4 Qa5 15. Nc5+ Kc8 16. b4 Qb5 17. a4 Qc4 18. b5 e5 19. bxc6 Bxc5 20. cxb7+ Kb8 21. dxc5 Rxd1 22. Rfxd1 Kxb7 23. Rab1+ Kc7 24. Rb3 Rb8 25. Rbd3 Rb2 26. c3 Qg4 27. Bf2 Qe2 1-0
IMBacon22
IMBacon22

What went wrong with what?

You did not include any analysis.

You didnt post the game in a format people could easily follow.

IcyAvaleigh
I think the toilet break took too much time
MickinMD

What went wrong for Black is that, first, you did not protect f7 sufficiently and, apparently, didn't realize that 7 Bxf7+ Kxf7 result in a N check that left your QB hanging.  You should have played 6...e6.

Then, you had a chance to move your K to safety on the Q-side, but you stuck your Q right in front of the White P's that would be attacking your K, costing you tempos.

When K's are castled on opposite sides, as they effectively are here, the game is usually won by a Pawn Storm.  If you have pieces in front of your own K's position, that helps your opponent because you have to waste tempos moving your pieces out of the storming P's way.