If the empty door that is opened after you make your choice was opened by chance then it doesn't make any difference if you swap.
However, if it is opened intentionally by someone who knows for sure there is nothing behind it then you should swap your choice to double your chance of winning from 33% to 66%.