Cant get HTC Desire 626s to FTM

Can anybody tell me how do i get it to FTM and also S off the phone im having a bit of trouble with it