I've had a headache for three days

When do I go to the doctor and ask if it's a sign of something worse?