The meaning of the idiom A flea in one’s ear is a sharp and severe scolding of a person.
1. The naughty child was sent with a severe lecture that served as a flea in his ear.
2. The unexpected and harsh answer of the boss was a flea in her ear.