If you mean the word deterrent, you put it in the same way you'd put in any other noun. If you mean how do you include an actual deterrent in a sentence, it would normally be as a threat or warning,...
(A deterrent is something that discourages a given activity.)Prisons are usually considered a deterrent to crime.The US maintains a fleet of missile submarines as part of its nuclear deterrent.
A deterrent is something which will deter (stop, repel) an action. The 12 month jail sentence was really in place as a deterrent, the courts hoped it would send a message they would not tolerate...
"He was told if he did that again he would be punished, so the threat acted as a deterrent."
A deterrent is anything that dissuades or impedes something.