I have suffered from severe headaches and migraines for years?

I have suffered from severe headaches and migraines for years and quite recently I have started to have constant buzzing in my ears and, when I am walking, I can hear something in my head as though something is clicking or tapping against my skull. I can’t seem to place where the clicking or tapping is occurring but I can hear it and I am wondering if my headaches and migraines are being caused by something in my head. It sounds like fingernails tapping against each other in my head and only occurs when I am walking.