Full story
After helping Batman and Wonder Woman on a mission in Gotham, Barry Allen visits his childhood home. That's where his mother, Nora, was murdered when he was a kid, and his father, Henry, was wrongly convicted. That day, Nora sent Henry to the store for a can of tomatoes she forgot and was left alone in the kitchen. Overwhelmed, Barry runs so fast he accidentally goes back to that morning. Bruce Wayne warns him that tampering with the past has consequences nobody can control. Barry goes anyway and puts the can in his mother's cart so Henry never has to leave.
On the way back, a mysterious speedster attacks him inside the Speed Force, and Barry crashes into 2013, in a reality where Nora is alive. He meets his parents and his younger self, a college kid with no powers yet, and realizes it's the day he was struck by lightning. Barry recreates the accident so the kid gets his powers, but the bolt hits them both and he loses his own. While he trains the other Barry, word comes that General Zod is about to invade Earth.
The two try to gather the Justice League, but there's no Diana, Victor Stone has no powers and Arthur Curry was never born. At Wayne Manor they find a different Bruce Wayne, retired for years. He explains that changing the past scrambles everything before and after, and that realities start to blend. Bruce agrees to suit up again. In Siberia, instead of Kal-El, they find his cousin, Kara Zor-El, held prisoner and break her out. After two failed tries, Kara flies Barry into a storm, and he gets his powers back.
The fight with Zod goes badly. Kara learns that Zod intercepted Kal-El's pod and killed him for the Codex, and that the Codex is inside her. Zod kills Kara and pulls the Codex from her blood, and Bruce dies trying to bring down the enemy ship. The two Barrys go back in time again and again, and it always ends the same way. Older Barry accepts that it can't be changed, but the young one won't stop, and the multiverse starts to collapse. The mysterious speedster is revealed: he's the young Barry years down the line, obsessed with beating Zod at any cost.
Barry decides to undo it all by letting his mother die. The speedster tries to kill him, but young Barry steps in and is impaled, and the villain fades away. Barry says goodbye to Nora and makes one change: he moves the can to a higher shelf at the store. In the present, the security footage now shows Henry's face at the store, and his father is cleared in court. Barry calls Bruce to celebrate, but the man who shows up isn't the Bruce he knew. Reality has shifted again.

