If you've made the common misspelling of "dettering", there are a few correct alternatives to use instead. The correct spelling is "deterring", meaning to prevent or discourage someone from doing something. Other correct suggestions include "detering" or "detterring". Remember to proofread to avoid future errors!