Think is usually followed by of or about. There is no difference in meaning. Think is never followed by to. Also, always use the -ing form.
I was thinking to buy a new car.
I was thinking of buying a new car.- He was thinking of it now.
- I love thinking about the future.