Maryland Gov. Martin O'Malley (D) (AP Photo/J. Scott Applewhite)

Gingrich, a former candidate for the Republican presidential nomination, shared that insight Sunday during a joint appearance with O’Malley, the chairman of the Democratic Governors Association, on NBC’s “Meet the Press.”

During most of the segment, O’Malley and Gingrich sparred over the job creation records of President Obama and his presumptive GOP challenger in November, Mitt Romney.

Former Speaker of the House Newt Gingrich. (Photo by Spencer Platt/Getty Images)

Gingrich, who was significantly outspent by Romney in the primaries, called fundraising “the entry-level problem” in what he said is “a brutal, tough process.”

“You’ve got to be prepared,” he told O’Malley. “And then, second, just understand you’ll spend two or three years on the road.”

Gingrich also pointed O’Malley to the experience of U.S. Sen. Mark Warner (D-Va.), a former Virginia governor who considering bidding for the Democratic presidential nomination in 2008.

“Mark Warner is a great guy to talk to, because he went out, he looked at it a lot, and then he came back and ran for the Senate,” Gingrich said.

O’Malley did not exactly end talk of his national ambitions during the segment. Asked by Gregory if his plans would be affected by whether higher-profile Democrats run, O’Malley said: “I haven’t even thought that far.”

“I’m focused on what I’m going right now, which is doing everything in my power to help elect Democratic governors,” O’Malley said, referring to his duties as DGA chairman.

Earlier in the segment, O’Malley played the role of a loyal Obama surrogate, criticizing Romney’s tenure at private equity firm Bain Capital, as well as his job-creation record as Massachusetts governor.

“His job was to return profits as quickly as possible to a very narrow few rather than create long-term jobs for the many,” O’Malley said of Romney’s time at Bain.

Gingrich countered that Obama has “no model of effective job creation.”

“I think Romney has a pretty straightforward case,” said Gingrich, a former speaker of the House. “Can you afford four more years of Barack Obama? Can you really afford four more years of this kind of an economy.”

At another point, Gingrich chided O’Malley for referring to economic problems created by the “Bush recession.”

“He had a chance to fix it,” Gingrich said of Obama. “It ain’t fixed.”