stopped smoking or stopped to smoke? (B1 Grammar)

With stop, the two forms mean opposite things. stop + the -ing form = quit it for good. stop + to + verb = pause what you're doing in order to do something else.

stop: two very different meanings

remember: looking back, or a job to do

With remember, the -ing form looks back at something you did. remember + to + verb is about a job you must not forget to do.

forget: looking back, or a job left undone

With forget, the -ing form looks back at something you did and still remember — it almost always follows never. forget + to + verb is about a job not getting done — either one you failed to do, or one you are warning someone not to miss.

try: make an effort, or test it out

With try, the two forms describe different things. try + to + verb = make an effort to do something difficult (you might not manage it). try + the -ing form = experiment with something as a possible solution, to see if it helps.

regret: sorry about the past, or breaking bad news

With regret, the -ing form means you are sorry about something you did. regret + to + tell, inform or say is a formal way to break bad news as you say it.