Always be sure to moisturize before and after applying your makeup, so you can replenish your skin's natural oils. Another tip: Give your moisturizer time to sink in before you apply your foundation so that it doesn't pill.
Prep your skin with a great primer — it's like preparing your walls for paint; it makes things last longer and helps the color pop. It gives your makeup something to cling to and can help give you more of a glow.
Choose the right kind of foundation. Look at your skin type; if you have oily skin, look for a non-comedogenic foundation and if you have dry skin, try something creamy.
Also, make sure it's right for your skin tone: Test it along your jawline and if it basically disappears into your skin then it's a good fit for you.
Be sure to pick the right applicator for your skin texture — a flatter brush is ideal for those who have hyperpigmentation or acne, while a fluffier brush works well for those with a more even texture.
Less is more when it comes to non-cakey makeup, so use less foundation than you think you need, then build on as needed. Use a great concealer like this one to cover up any discolorations, so you don't end up piling on your foundation.