could you please correct the sentence: i stopped to smoke last year

Do you mean?

I stopped smoking last year.

Do you mean this?

I stopped smoking last year.

Certainly! The corrected sentence would be: "I stopped smoking last year."