Substitute Gabriel Jesus scored twice in the second half as Brazil came from behind to beat the Czech Republic 3-1 in an international friendly on Tuesday.

Roberto Firmino started the rally, equalizing four minutes into the second half as he capitalized on a defensive blunder and beat goalkeeper Jiri Pavlenka one on one.

More Images
Brazil's Philippe Coutinho jumps to avoid a tackle during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Substitute Gabriel Jesus scored twice in the second half as Brazil came from behind to beat the Czech Republic 3-1 in an international friendly on Tuesday.

Teammates hug Brazil's Gabriel Jesus, third from left, who scored his side's third goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

David Pavelka put the Czechs 1-0 ahead with a low shot from outside the area past Brazil goalkeeper Alisson Becker in the 37th as the Czechs looked more dangerous in the first half despite coming off a 5-0 loss to England in European Championship qualifying on Thursday.

Brazil's Gabriel Jesus, left, celebrates after scoring his side's third goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

More AP soccer: https://apnews.com/tag/apf-Soccer and https://twitter.com/AP_Sports

Brazil coach Tite gives directions to his team during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil coach Tite gives directions to his team during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil's Roberto Firmino, left, and Brazil's David Neres celebrate after their team scored their side's second goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil's Roberto Firmino, left, and Brazil's David Neres celebrate after their team scored their side's second goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil coach Tite gives the ball to Brazil's Alex Sandro during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil coach Tite gives the ball to Brazil's Alex Sandro during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Jesus then decided the game with goals in the 83rd and 90th minute for Brazil to rebound from a surprise 1-1 draw against Panama in another friendly on Saturday in Portugal.

Brazil's Philippe Coutinho jumps to avoid a tackle during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil's Philippe Coutinho jumps to avoid a tackle during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

David Pavelka put the Czechs 1-0 ahead with a low shot from outside the area past Brazil goalkeeper Alisson Becker in the 37th as the Czechs looked more dangerous in the first half despite coming off a 5-0 loss to England in European Championship qualifying on Thursday.

Preparing for the Copa America that Brazil will host in June, coach Tite made six changes to the starting lineup from Saturday's game but they failed to boost his team in the first half.

Star striker Neymar was not in Brazil's squad as he recovers from foot surgery.

Teammates hug Brazil's Gabriel Jesus, third from left, who scored his side's third goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Teammates hug Brazil's Gabriel Jesus, third from left, who scored his side's third goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

More AP soccer: https://apnews.com/tag/apf-Soccer and https://twitter.com/AP_Sports

Brazil's Gabriel Jesus, left, celebrates after scoring his side's third goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil's Gabriel Jesus, left, celebrates after scoring his side's third goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil coach Tite gives directions to his team during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil coach Tite gives directions to his team during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil's Roberto Firmino, left, and Brazil's David Neres celebrate after their team scored their side's second goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil's Roberto Firmino, left, and Brazil's David Neres celebrate after their team scored their side's second goal during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil coach Tite gives the ball to Brazil's Alex Sandro during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)

Brazil coach Tite gives the ball to Brazil's Alex Sandro during the international friendly soccer match between the Czech Republic and Brazil at the Sinobo stadium in Prague, Czech Republic, Tuesday, March 26, 2019. (AP PhotoPetr David Josek)