Gerund with change

remember
go on to dance
stop smoking
quit smoking
Try studying
go on dancing
ing - activity
To intention
I forgot buying my dog.
Try to study
Stop to smoke
Quit to smoke
regret
I forgot to buy my dog.