Hint: $E[X^2] = E[X]^2+\text{Var}[X]$. Do you know the mean and variance of $X$?
EDIT: Since a few other answers have shown a derivation of the mean and variance of a binomial random variable, I'll show one as well.
If $X \sim \text{Binomial}(n,p)$, then we can write $X = \displaystyle\sum_{k = 1}^{n}Y_i$ where $Y_i$ are i.i.d. $\text{Bernoulli}(p)$.
Each $Y_i$ takes the value $1$ with probability $p$ and $0$ with probability $1-p$.
Hence, $E[Y_i] = p \cdot 1 + (1-p) \cdot 0 = p$ and $\text{Var}[Y_i] = p \cdot (1-p)^2 + (1-p) \cdot (0-p)^2 = p(1-p)$.
By linearity of expectation, $E[X] = np$. Since the $Y_i$'s are independent, $\text{Var}[X] = np(1-p)$.
Therefore, $E[X^2] = E[X]^2+\text{Var}[X] = (np)^2+np(1-p)$.