What can you do if an ant crawls into your ear?

Let it crawl out. Insects will crawl out once they find nothing of interest in your ear. Rarely will they create any problems. If they are stubborn , you can infuse a few drops a mild oil in the ear and force them out. Do not instill liquids in the ear to remove objects that will absorb liquids as they will expand and become lodged.