Exiting TV program

I am a new user. When ever I try to exit an ongoing program either on my Laptop or TV set the ongoing program continues to play until I exit KODI and have to start over again. It is, no doubt, a simple fix but I just don’t know where to look. C[/size]an someone help?