An man who was told to wear a mask inside two New Jersey convenience stores went berserk Saturday and was arrested — twice, officials said.

Stephen Breza, 70, first entered a Wawa store shortly before 11 a.m. and “allegedly started screaming, flailing his arms, and cursing at employees” when he was told to wear a mask, according to the New Jersey Attorney General’s Office.

Breza then told another customer he was going to bash him with a pipe, officials said.

He was arrested and screamed at officers, but was released from custody.

Breza then went to another Wawa location on the same road around 1:30 p.m. and socked another customer in the face before going to his car and grabbing a pipe — which he “wielded menacingly,” officials said.

Breza was charged with violating emergency orders, disorderly conduct, failure to submit to fingerprinting and resisting arrest for his first rampage.

For the second incident, the pipe-wielding maniac was charged with violating emergency orders, disorderly conduct, failure to submit to fingerprinting and making second-degree terroristic threats during an emergency and third-degree possession of a weapon for an unlawful purpose.

He is now being held at the Ocean County Jail.

“Staying home and maintaining social distance isn’t just the best advice to stay healthy, it’s the law. Make no mistake, we will do everything in our power to keep our residents and officers safe, and that means we won’t hesitate to file charges against violators,” Attorney General Gurbir Grewal said in the release.

Last week, Gov. Phil Murphy signed Governor Executive Order No. 122, which included a long list of regulations during the coronavirus pandemic — including requiring all customers who patron businesses to wear face coverings.

“If a customer refuses to wear a cloth face covering for non-medical reasons and if such covering cannot be provided to the individual by the business at the point of entry, then the business must decline entry to the individual,” the order states.