How soon can I test?

Is 2 1/2 weeks soon enough to take a pregnancy test? I’m a week late but I recently started taking birth control and I have quite got my periods regulated yet?