My rule of thumb is that if it keeps me up at night regularly, it is worth a visit to the doctor.
I find that when I hurt my foot I tend to walk funny to compensate for my injury. Sometimes that causes other parts of my leg and/or back to hurt.
Have you taken ibuprofen?
Denae