A repetitive sound in your head or ears should prompt a visit to your GP, a doctor says.