3 Talaq at One Go (Divorce)

my friends have divorce one time to his wife before two month but again before month ago , he said three time divorce to his wife, what will be apply to both.