One of the best ways to use rosemary oil for your hair is to directly apply it to your hair and scalp. You can massage your hair and scalp with rosemary oil and leave it in for a few minutes. Rosemary oil will help with hydrating your scalp and hair. A hydrated scalp means that your scalp will be less itchy and flaky.