Let the quantum system composed by an orthonormal base with the states $|1\rangle, |2\rangle$ and $|3\rangle$ with all being degenereted states of the observable D with eingenvalue $\delta$. So, being the action of the Hamiltonian operator $H$ given by
$$ H|1\rangle = \Omega|1\rangle + \Omega|3\rangle $$ $$ H|2\rangle = \Omega|2\rangle + \Delta|3\rangle $$ $$ H|3\rangle = \Omega|1\rangle + \Delta|2\rangle + \Omega|3\rangle $$
with $\Omega, \Delta$ real constants, how can I represented this Hamiltonian in matrix form ? Actually, I don't asking for a solution, just for tips that I can start to work in.