Proof (simultaneous diagonalisation)

$(V,\phi)$ is an inner product space, so there exists a basis $C = \set{c_1, \ldots, c_n}$ which is orthonormal with respect to $\phi$. Recall that $[\psi]_{C}$ is real symmetric (resp. Hermitian).

By the spectral theorem, there exists $P\in O(n)$ (resp. $P\in U(n)$) such that $D = P[\psi]_C \overline{P}^T$ is real and diagonal. Define $b_i\in V$ via $[b_i]_C = P^T \v e_i$.

$B = \set{b_1, \ldots, b_n}$ is orthonormal because $$ \begin{align*} \phi(b_i, b_j) ={}& ([b_i]_C)^T \overline{[b_j]_C} &&\text{orthonormality of } C \\ ={}& \v e_i^T P \, \overline{P}^T \v e_j \\ ={}& \v e_i^T I_n \v e_j &&P\in U(n) \\ ={}& \delta_{ij} \end{align*} $$ and since $B$ has size $n=\dim(V)$, it is a basis for $V$.

Moreover, $$ \begin{align*} \psi(b_i, b_j) ={}& ([b_i]_C)^T \,[\psi]_C \, \overline{[b_j]_C} \\ ={}& \v e_i^T P [\psi]_C \overline{P}^T \v e_j \\ ={}& \v e_i^T D \v e_j \\ ={}& D_{ij} \end{align*} $$ so $[\psi]_B = D$.