I believe it is useful to review what is meant by first quantization and second quantization. These are historical terms and may not be the best according to current views, since they refer simply to quantization prescriptions in different settings.
First quantization just deals with the quantization of 1-particle. So such theory, you can think about a harmonic oscillator (always :) ), where we transform its traditional Hamiltonian written in terms of $\hat{P}$, together with its quadratic potential into something that is proportional to
$$\hat{H} \propto \sum_{n}\omega_n \hat{a}^\dagger\hat{a}$$
where the $a$'s are the creation and annihilation operators and their role is to diagonalize the Hamiltonian. They must fulfill canonical commutation relations (CCR), to preserve the commutation relation between $\hat{p}$ and $\hat{x}$, this is the quantization part. All in all the important point here is that there is only one particle to be treated and it can occupy a discrete/continuous set of energy levels.
So a state is just labelled by one number for example $|n\rangle $ and applying $\hat{a}^\dagger$ will take this state to $|n+1\rangle$ which has a higher energy, $\omega_{n+1}$, that is why they are also called rising/lowering operators sometimes.
Second quantization refers to a theory of fields usually, which attempt to model multi-particle systems. To specify a state in this theory you could think about writing down its current energy-level occupation. You would need to say how many particles and of which type are at each level. I won't go through the details, but the point is you need a pair of annihilation and creation operators per field type (in the simplest example) and these also acquire a momentum label. So the meaning of the $a$'s has changed, instead of raising the energy as in 1st quantization, they add a particle of the same energy. So even considering just one field, i.e. one particle type, the Hamiltonian would be roughly
$$\hat{H}\propto \int {\rm d}p\, w_p\, \hat{a}^\dagger_p \hat{a}_p $$
and a state is normally written in terms creation operators acting on the vacuum $|0\rangle$ as for example:
$$ \hat{a}^{\dagger\,n_1}_{p_1}\hat{a}^{\dagger\,n_2}_{p_2}\cdots\hat{a}^{\dagger\,n_m}_{p_m}|0\rangle$$
this represents a state simultaneously carrying $n_i$ particles carrying momentum $p_i$ for $i=1,2,...,m$.
So just as it is written in the question, it is wrong to equate a 1st quantized Hamiltonian with a 2nd quantized Hamiltonian since they describe different theories.