NORMAN, Okla. (AP) As Oklahoma coach Jeff Capel walked into his postgame interview, he passed Oklahoma State's Marshall Moses carrying teammate Ray Penn the other way because his legs had locked up because of cramps.

The Bedlam rivalry had turned rugged, and the Sooners were the only ones able to walk away with a victory.

Willie Warren scored 15 points, freshman Tiny Gallon had 13 points and 18 rebounds and Oklahoma bounced back from its most lopsided loss in nearly three decades to beat Oklahoma State 62-57 in overtime on Monday night.

"I told our guys after the game, 'We should feel that way all the time. We should feel that way after every practice. We should feel that way after every game because that means you competed. That means you laid it out there on the line,'" said Capel, whose best player had leg cramps late in regulation.

"If you do that, you take the results, whatever they are."

Oklahoma State's James Anderson, the Big 12's scoring leader, got the worst of it. He came out of the game with just under 13 minutes to play with a head injury and appeared to get stitches while sitting at the end of the Cowboys' bench.

While he was out, the Sooners (10-6, 1-1 Big 12) took advantage and surged ahead, then closed out the victory in overtime after squandering a five-point lead in the final 20 seconds of regulation.

Tommy Mason-Griffin put Oklahoma ahead with a 3-pointer with just under 3 minutes left in overtime, and Warren sealed the win by hitting two free throws with 10.7 seconds to play.

Anderson led Oklahoma State (13-3, 1-1) with 18 points but was ineffective after returning from his injury. Moses added 16 points and 13 rebounds and Penn, a freshman, scored 14 points for the Cowboys.

"It's a war," Penn said, moments before cramping up. "That's what they told me: 'When you come to Bedlam, it's an all-out war and that's what it was.

"I've got a busted lip, blood all over my jersey, but it was fun."

Then he had to ask Moses to literally carry him out of the interview room. That's how drained this Bedlam game left players on both teams. Warren, who committed a career-high seven turnovers, also had to come out of the game after cramping up on a driving layup with 4:48 left in regulation.

The Sooners shot only 38 percent but were still 10 percentage points better than Oklahoma State, which was 19-for-69. One of the team's best defensive efforts came two days after one of its worst in a 91-60 blowout at Baylor.

"We had some fight in us, and that's what it's going to take for us the rest of the year," Capel said. "We're not the most talented team but one thing we can do is that we can fight. We can compete, all the time."

Oklahoma was coming off its most lopsided loss in 28 years since the program's last losing season and appeared in trouble, down 42-34 before Anderson got hurt. But after he went out of the game, the Sooners scored the next 13 straight points to surge ahead.

"We definitely felt an opportunity to try and take the lead," Oklahoma's Cade Davis said.

Anderson remained on the floor under the basket for a few moments as trainers attended to him, and he then walked to the end of the Cowboys' bench with a towel pressed up against the side of his head.

Tony Crocker, Mason-Griffin and Steven Pledger hit consecutive 3-pointers to push Oklahoma into the lead at 43-42 before Anderson returned with 8:07 to play. Crocker extended the Sooners' lead with a layup before Anderson touched the ball for the first time, fumbling away his dribble against Warren before getting it back with a dive. He then picked up two fouls in a 24-second span, with Warren blowing past him for a layup in between to make it 47-42 Sooners with 6:35 left.

"He got hit pretty hard on the head. He got a pretty good bump and was bleeding a little bit, and I'm not sure the extent of it but obviously you saw when he came back in the game he was still a little groggy," Cowboys coach Travis Ford said. "But I told our guys some other guys have got to step up when he goes out. It can't just be one guy."

Penn stopped Oklahoma State's dry spell and cut the deficit to three with a driving layup, but it was the team's only basket in a 12-minute span after Anderson went out.

Penn connected again on a 3-pointer from the left wing with 17.4 seconds left, then Anderson put back his own missed layup with 3.7 seconds left after freshman Mason-Griffin missed a pair of free throws that could have iced the game.

He made up for it with the go-ahead 3-pointer in overtime and finished with 14 points.

"It's huge," Davis said. "It's the biggest game because it's right here and now, and especially against our state rival. What better start to have than to come out and try to beat them and start a run here in the Big 12 for us as a team? We need to come out with the same energy, the same passion, the same effort like tonight and I think we'll be successful."