You should always apply your foundation first, you'll find that you don need to use as much concealer. If you apply concealer first, you'll remove most of it while applying your foundation.
The best way to apply the concealer is to draw a triangle with the base under your eye and the point toward you cheek. This triangle shape not only conceals dark circles, but it also instantly highlight your cheek bones. Its like a face lift without the surgery!