How long do you toast nuts (walnuts, almonds, etc.)? I don't want to burn them.

Do you toast in the shell? Or if I buy nuts shelled, so I still toast them?

Sorry if these are dumb questions.