They can proclaim embargoes and sanctions, but the UN has no
military forces; military forces have to be provided by nations.
The nations involved can enforce the sanctions or ignore them, or
anything in between. If some nation wants to enforce sanctions and
embargoes, and another nation wants to evade these actions, then
there's a potential for military conflict.
For example, if the UN were to impose sanctions on Russia and an
embargo on Crimea, any attempt of the USA to enforce embargo would
likely lead to conflict. That's why Barack Obama has proposed only
incredibly tiny and ineffectual sanctions on Russia; Vladimir Putin
wouldn't stand for it. With the rapidly declining American military
and the expansion of Russian military might, if push came to shove,
the USA would suffer an embarrassing defeat and humiliation. And
both Putin and Obama know it.