Pennsylvania GOP Rep. Charlie Dent said President Trump needs to stop tweeting about the Russia investigation.

"My advice is stop tweeting," the centrist Republican congressman said during an appearance on CNN's "State of the Union."

Dent's comments follow a debate over whether Trump confirmed he was under investigation for obstruction of justice on Twitter last week.

On Friday, Trump responded to a Washington Post story saying special counsel Robert Mueller is investigating him in light of his firing of former FBI Director James Comey. "I am being investigated for firing the FBI Director by the man who told me to fire the FBI Director! Witch Hunt," Trump tweeted.

But on Sunday, attorney Jay Sekulow, a member of Trump's legal team, said the president was not being literal in his tweet but was referring to the Washington Post story.

"The president is not a subject or target of an investigation," Sekulow said on CNN.

Dent argued Trump's tweets are only causing unnecessary problems.

"Director Comey said the president was not under investigation. Take him at his word. If in fact there was no collusion, well then there's nothing to worry about. Let Mr. Mueller complete his work. Less is more. Say little. There's nothing to say about this, if I were the president," Dent said.