But usually in Hamiltonian we solve for $\dot p$ and $\dot q$. And if we solve the $\dot p$ equation, do we need to solve the $\dot q$ one?
When I did some simple examples, I always, for the $\dot q$ one got just the definition of mechanical momentum, i.e $\dot q=\frac{p}{m}$.