Combine rosemary leaves and olive oil in a small saucepan. Heat until just warmed. Strain out the rosemay and apply the oil to your hair, working it in well to coat the scalp. Wrap the hair in a shower cap and top with a hot towel for 15 minutes. Shampoo as usual, making sure to wash out all of the oil.