Here are some examples:
* Capitalized:
* "Inspector Gadget"
* "I spoke to Inspector Jones about the case."
* "Excuse me, Inspector, but I have a question."
* Not capitalized:
* "The inspector arrived at the scene."
* "We need an inspector to check the wiring."
The key is to look at how the word is used in the sentence. If it's part of a specific title or a direct address, capitalize it. Otherwise, use lowercase.