Same meaning: like, love, hate, start, begin can often use a gerund or an infinitive with little or no change.
Remember: remember doing = memory of the past. Remember to do = remember first, then do it.
Forget: forget doing = forget a past action. Forget to do = fail to do something because you forgot.
Stop: stop doing = quit the action. Stop to do = pause one action in order to do another.