If you are making the cookie dough to use in the Cookie Dough Ice Cream recipe, you must cook the flour. Place it in a glass bowl. Cook the flour in a microwave oven for 1 minute, stirring every 15 seconds. Let it cool down completely. This heat treatment will ensure that the raw cookie dough is safe for consumption.