U.S. Rep. Debbie Dingell, D-Mich., underwent emergency surgery in Washington, D.C., on Friday and was recovering, a spokesperson said, according to reports. 

"Congresswoman Dingell underwent emergency surgery on a perforated ulcer at George Washington University Hospital," spokeswoman Mackenzie Smith, said, according to FOX 2 in Detroit. "The procedure was successful and she is recovering well. For the next few days she will be recovering at the hospital."

The congresswoman, 67, opted for over-the-counter non-steroidal anti-inflammatory drugs (NSAIDs) over opioids last year after getting jaw surgery, Smith added, saying she wants to be a "cautionary tale that NSAIDs can be harmful," FOX 2 reported. 

ORIOLES' CHRIS DAVIS OUT FOR SEASON AFTER HIP SURGERY 

U.S. Rep. Debbie Dingell, D-Mich., speaks in Washington, accompanied by House Majority Leader Steny Hoyer of Maryland, left, and Rep. Matt Cartwright, D-Pa., Feb. 4, 2020. (Associated Press)

U.S. Rep. Debbie Dingell, D-Mich., speaks in Washington, accompanied by House Majority Leader Steny Hoyer of Maryland, left, and Rep. Matt Cartwright, D-Pa., Feb. 4, 2020. (Associated Press)

Dingell had a stomachache on Thursday that got progressively worse through Friday, the Detroit Free Press reported, adding she will likely be recovering at the hospital for five to seven days. 

A perforated ulcer happens when an ulcer burns through the wall of the stomach or intestine. It can cause nausea, severe stomach pain and bloating and should be treated by a doctor immediately, according to Fairview Health Services in Minnesota. 

"I may actually have to give up junk food and Diet Coke," Dingell, who remained in good spirits, told the Free Press

Last Tuesday, Dingell accompanied President Biden while he toured a Ford plant in Detroit that builds electric vehicles.

CLICK  HERE TO GET THE FOX NEWS APP

Dingell has served in Congress since 2015 after winning her husband, John Dingell’s, open seat in 2014. John Dingell was the longest-serving member of Congress when he retired in 2014. He died in 2019.