What will happen to the $ if war breaks out between US and Iran?

This is a serious question.

I really hope that this eventuality won’t happen but since we have to react to such possibilities here’s my question.

Will the US dollar get affected by this? How and especially when do we have to react?
What about oil? Will it also drop by time? How else will the economy get affected by this?