Recall that for $A \in \mathbb{R}^{m \times n},$
\begin{align*}
\| A \|^{2}_{F} = \textrm{trace}(A^{\top} A).
\end{align*}
With this in mind, consider the following (very relevant) post:
Derivative of squared Frobenius norm of a matrix
Hence, you can differentiate your expression in the usual way (being mindful of 2nd-order conditions for optimality), and find a solution to your optimization problem.
Additionally, a useful reference for a variety of matrix identities (including matrix calculus) is "The Matrix Cookbook" by Kaare Brandt Petersen and Michael Syskind Pedersen. A version of the document can be found here:
https://www.math.uwaterloo.ca/~hwolkowi/matrixcookbook.pdf