They are still able to import and export goods from around the world. Even US has exported goods to them (more than Canada or Mexico.) Its just that US doesn't import much from them.
They have been getting free oil from Venezuela in exchange for helping the dictatorship there for the past 25 years. They then sell that oil for resources to pay the military and the top brass well fed while the population starve