Aldehydes are more reactive than ketones. Their carbonyl carbon has a more positive partial charge than the respective carbon in ketones. So in an aldol reaction, the enolate having a negative charge will react preferably with an aldehyde.
Also, for an aldol reaction to be synthetically useful, certain precautions are taken. For instance, the aldehyde shouldn't have α-hydrogens and the ketone should have only one type of α-hydrogens. Otherwise, you're going to get a mixture of many different possible products.