When it is worth going to the doctor