Antibiotics are commonly given for earaches;
However many times this is not an effective treatment. If the earache is viral in nature it won't do a lick of good, but it can do harm.
Antibiotics should be a last resort as they do irreparable damage to the healthy bacteria in the intestines. This is important as your healthy bacteria is the cornerstone of your immune system health.