I can use the imperative when talking to friends and in more formal situations to give instructions or advice.