My sister used to get ear infections all the time when we were kids. Not fun at all. She got them a lot until at age 26 she had her (very scarred) tonsils out, then it abated a lot.

When you feel like you're getting, or might have, an ear infection, gargle with warm salt water - your ear and throat are connected (via your eustachian tube) and that helps fight the germs.