For best results, switch between warm and cool compresses every few minutes. Like other home remedies, compresses won't cure an ear infection, but they can help reduce inflammation and pain.