I didn't know how to really word the title but here's my example, hopefully you'll understand what I mean.
One night I had a really bad toothache and couldn't sleep. I decided to watch The Road to El Dorado instead to take my mind off it. Now whenever I rewatch or think about the film, I am reminded of that time I had a horrible toothache.
Or another example, I asked my cousin this same question and he told me he knew what I meant, he tried watching 10,000 BC while he was really ill and now he can't watch the film again because it makes him think of that time he was ill.