Do all this before you need a letter of recommendation. Make your request in person, NOT through e-mail ... Provide the professor with information about you that will help him or her, such as your ...