Blood test

How soon can a blood test detect pregnancy?