MacBook Air restore


I restored my Mac to factory settings for the purpose of selling. I received the MacBook back and deleted the user profile because the buyer changed the password. Now I am in disk utility trying to restore to factory settings but I can’t.