makeup question

So I have a question about makeup that has always confused me
What comes first, concealer or foundation?