When trying to state an action that is based on your decision, you can use ことにする to end the sentence.
あしたから たばこを やめる ことにしました
However, if the action is a decision made by someone else, for example, your boss, then you should use ことになる.
実は、社長に言われて、残業することになったんです。
Advertisement