cakey foundation

how can i stop my foundation from caking up???