IMHO, sanctions against an autocratic regime do not work; they just make the autocrat stronger. See, for example: Saddam Hussein, Gaddafi, North Korea, Cuba, etc.
Sanctions against a democratic regime (for various definitions of "democracy") can work: for example, Iran, USSR, South Africa, etc.