1. You should see a doctor = any doctor, it doesn't matter which doctor. Here, the speaker does not have a specific doctor in mind.
2. You should see the doctor = a specific doctor that is known to both the speaker and the hearer, or that has already been mentioned in the conversation.