Texas Rep. Joaquin Castro said a weekend nuclear weapon test by North Korea increases the need to economically isolate the dictatorship.

"I don't think it's helpful to get into a Twitter shouting match with a 32-year-old dictator," the 42-year-old Democrat said on ABC's "This Week," referring to recent messages from President Trump to North Korean dictator Kim Jong Un, believed to be 33.

Castro said he believed the U.S. should improve its missile interception technology and work to establish "secondary sanctions" on institutions that do business with North Korea, particularly in China and Russia.

"We're not going all out in terms of secondary sanctions," he said, saying he does not believe there is a military solution.

Castro said he would like Trump to table trade disagreements with South Korea. The congressman said he believes with North Korea there's "a lot of that depends on China."