Step 4. Eat plenty of beans and peas and whole grain foods. Legumes such as pinto beans, black beans, green peas and chickpeas all contain iron and can be used to create a variety of tasty recipes. Whole grain breads, pastas, cereals and rice are also good sources of iron.