As US puts pressure on Iran over recent attacks and nuclear deal, UN urges both sides to act with caution.