Dwight Gooden told The Post on Tuesday that he felt “very shameful” about his latest DUI bust — and planned to immediately enter rehab.

“I got exactly what I deserved. Unfortunately,” the former Mets great said outside his Piscataway, NJ, home, less than a day after he was arrested by Newark cops for allegedly driving under the influence the wrong way on a one-way street.

Still wearing a hospital wristband on his right hand — and his 1986 Mets World Series ring on his left — Gooden added, “Basically, I’m going away tonight to try to get some help to save my life.

“I’m very embarrassed. Very shameful. I feel bad for anybody I disappointed or let down,” said the ex-star pitcher, 54, whose spectacular career on the mound has been marred over the years by his constant struggle with drugs and booze.

“It’s a struggle — a hard struggle — but you have to just jump back in,” said Gooden, a.k.a. Doc.

“I’ll be checking in tonight, whatever it takes. This time, I mean, at my age, I’ve been doing this for 30 something years. I never thought I’d see myself at 54 going back to treatment.

“First time was at 21. But, you know.”

He called the past few months “horrible.”

The Mets legend also was busted just last month for DUI and cocaine possession after cops in Holmdel spotted him driving strangely and allegedly found drugs in his car.

“The support, that’s what makes it even tougher, when you get all this support” and still relapse, Gooden said.

He said former Mets star teammate Darryl Strawberry, who has had his own share of drug problems and feuded on and off with Gooden over the years, is among nearly two dozen former ballplayers who have contacted him recently to try to help him.

“Darryl came by, I think it was Wednesday of last week,” Gooden told The Post. “We talked for probably two hours.

“I’ve gotten calls from 15 to 20 teammates from the Yankees and Mets,” Gooden said.

As for his recent woes, “It’s been a buildup,” Gooden said. “Not much to get into, but it’s been a buildup.

“I’m not justifying anything,” the ex-baseball player quickly added.

“About four months ago, for some crazy reason, I stopped taking all my medication. I wasn’t going to my meetings. I wasn’t talking to anybody.”

An Essex County law-enforcement source has told The Post that Gooden claimed to be diabetic when he was stopped Monday night.

Gooden told The Post hours later, “I just found out today” about having diabetes.

“I was in the hospital from probably 12:01 to 8 a.m. … Today was tough, but I can deal with it.”

Several hours earlier, Gooden had been seen leaving his home and gave a thumb’s up to The Post. He was wearing a Nike visor, white sweatshirt, jeans and open-toed Nike sandals.