You would say something "didn't hurt" if you were speaking about a specific event in the past. Example: I got the vaccination and it didn't hurt. You would say something "doesn't hurt" if you want to say that this particular thing never hurts. Example: You should get the vaccination, it doesn't hurt. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.