"The View” co-host Whoopi Goldberg on Monday called out Rep. Alexandria Ocasio-CortezAlexandria Ocasio-CortezGOP senator voices concern about Trump order, hasn't decided whether he'll back it Ocasio-Cortez in Bronx speech: New Yorkers deserve ‘dignified jobs’ Amazon exec invites Ocasio-Cortez to tour facilities after criticism MORE (D-N.Y.), saying the freshman congresswoman has to "do something" in office before she can "start pooping on people and what they’ve done."

"[Ocasio-Cortez is] very opinionated, which we like. We like opinionated women," Golberg said on "The View." “But it is very, very difficult when people make accusations where you say, you know, the Democrats have done nothing, the establishment of the Democrats have done nothing.

ADVERTISEMENT

“And I just want to throw this out to you. [Rep. John LewisJohn LewisThe Hill's 12:30 Report — Presented by Kidney Care Partners — Lawmakers scramble as shutdown deadline nears Bill Clinton jokes no one would skip Dingell's funeral: 'Only time' we could get the last word Biden eulogizes Dingell: 'Dignity was how John walked. Dignity was how John talked' MORE (D-Ga.)] wasn’t sitting still. [Sen. Dianne FeinsteinDianne Emiel FeinsteinFeinstein says she thinks Biden will run after meeting with him Trump judicial nominee Neomi Rao seeks to clarify past remarks on date rape Bottom Line MORE (D-Calif.)] wasn’t sitting still," she continued, adding that politicians like them have been "busting their asses" for the American people.

“You just got in there, and I know you got lots of good ideas, but I would encourage you to sit still for a minute and learn the job. There are people in that party who have been working their tails off for this country. You could learn some stuff from them."

Goldberg concluded by saying that "you don’t have to be born into it."

"You don’t have to know it when you step out, but before you start pooping on people and what they’ve done, you got to do something, too," she said. 

Ocasio-Cortez, 29, became the youngest woman ever elected to Congress in November and is considered a rising progressive star in the Democratic Party. 

She acknowledged on CBS's "60 Minutes" on Sunday that she's ruffling feathers among the party's establishment. She's thrown her support behind an initiative to encourage primary challenges of Democratic incumbents who take corporate dollars or fail to embrace progressive policies.  

"It requires risk to try something new, but also we — we know so much of — of what we've tried in the past hasn't worked either," she said. 

Ocasio-Cortez was officially sworn into Congress last week.