This most likely means that you have the arguments for numberwithin in reverse order:
\numberwith{section}{equation}
That means `print the section number as equation
number.section number and reset to 1 every time an equation
occurs' when what you probably wanted was the inverse
\numberwith{equation}{section}