When applying foundation I keep it looking flawless by using a setting powder and just applying it a little at a time.
I found that applying a little bit of the foundation at a time instead of slathering too much on at once keeps the foundation looking flawless.