Iranian President Masoud Pezeshkian has adopted a tough stance following a warning issued by US President Trump.