Dry flakey skin with foundation

Does anyone have any hacks for applying liquid foundation to dry flakey skin?

Every freaking time I try to wear foundation my skin gets flakey and gross looking 😭 I'm super broke out right now and want to cover it up for work. But I never wear foundation so Idk what to do. Ive tried using a face lotion and primer and still didn't help 🤦