Ted is in a car accident that prompts Marshall to talk about miracles. Everyone flashbacks to prior moments in their lives.
When Barney and Abby realize that they have one thing in common - their mutual hatred of Ted - the "couple" decides to go to the bar to flaunt their new relationship in Ted's face.
Barney gets a new wingman and Ted meets Stella's daughter.
Barney and Marshall have a discussion about "The Bro Code" because Barney has broken it and wants advice.
Robin's musical past emerges again as the group learns of someone named Simon from Robin's past. Barney searches for more Robin Sparkles memorabilia.
After Marshall witnesses a work buddy get yelled at after handing in a report, he becomes paranoid that the same will happen to him.
Barney's efforts to hook up with women are being thwarted by a mysterious woman from his past. Barney and the gang must sift though his many past flings in an attempt to find out who she is.
Ted pursues a woman named Stella, but only gets attention from her receptionist Abby.
Ted lives like there's no tomorrow during a St. Patrick's Day celebration with Barney. Lily and Marshall spend the evening at their new apartment with Robin.
Ted's upcoming date with his doctor leads the gang to give him their own examples of why dating someone you already see regularly is a bad idea.
When Barney loses his way with women, he hopes a trip to the Victoria's Secret Fall Fashion Show will help him regain his form.
Lily and Marshall have their first Thanksgiving as a married couple; Barney is tortured by the slap bet countdown clock, worrying about when the slap will be dished out.
Marshall awaits his bar exam results; Ted introduces his latest girlfriend to the gang, who all see the flaw that Ted has missed
Marshall and Lily's plan to buy an apartment is hampered by mistakes and Lily's hidden debt.
Marshall has to contemplate giving up his plan of using his law degree to help the planet when he's courted by a major firm; Lily reveals a secret to Robin that not even Marshall knows; Ted discovers a porn actor is using his name
Amid sharing stories with her about how members of the gang met each other, Ted's hot new girlfriend has a reaction to the meeting that gets her a high ranking on Barney's crazy scale.
Barney and Ted compete for a girl. Robin is dating someone new.
Ted's new attitude attracts women in the present and one from his past. The rest of the gang pulls together to help him make the most of the situation.
Ted and Barney pretend to be visitors to New York City to pick up women. Robin is still dating Gael.
Robin shows up with a date and this motivates Ted to 'get back out there'. We also learn something major about 'the Mother'.