Let $X:=\{\chi \in H^1_{\text{loc}}(\mathbb{R})\}$ such that $\chi(0)=\frac {1}{2},\; \chi(-\infty)=(0)$ and $\chi(\infty)=1$.
Consider the functional $$F(\chi) = \int_{\mathbb{R}}(\chi'^2+\chi^2(1-\chi)^2)dx$$ Prove that $F$ has a minimizer on $X$ and compute it.
Hints: Let ($\chi_n)_{n\in \mathbb{N}}$ be a minimizing sequence. We may assume $0 \le \chi_{n} \le 1$, why?
Can we assume that each $\chi_n$ is monotone?
Extract a subsequence that is weakly converging in $H^1_{\text{loc}}(\mathbb{R})$, i.e., weakly on each bounded interval of $\mathbb{R}$. Study lower semicontinuity.
Deduce the Euler-Lagrange equation in the weak form for the minimizer.
Does the candidate minimizer satisfy the conditions at $\pm\infty$?
Show that the minimizer $\chi$ is more regular. Integrate the equation to compute the explicit solution.
This method of solving such a problem is new to me so I don't really understand the hints, can somebody help me in any way?
In this answer, we show how this is solved in physics. We think this will be useful to OP, even if OP ultimately is after another method.
In physics the model is known as a kink/soliton. The Lagrangian is $$F[\chi]~:=~\int_{\mathbb{R}}\!\mathrm{d}x~{\cal L}.\tag{1}$$ The Lagrangian density is$^1$ $${\cal L}~:=~\chi^{\prime 2} + V. \tag{2}$$
The potential is $$V~:=~\chi^2(1-\chi)^2~\stackrel{(4)}{=}~ W^{\prime 2}. \tag{3}$$ The superpotential is $$W~:=~\frac{1}{2}\chi^2-\frac{1}{3}\chi^3. \tag{4}$$
The Beltrami identity leads to constant energy solutions: $$\chi^{\prime 2} - V~=~{\rm const}.\tag{5}$$ Zero-energy solutions are kink/antikink solutions $$ \pm\chi^{\prime}~\stackrel{(3)+(5)}{=}~ W^{\prime} ~\stackrel{(4)}{=}~\chi(1-\chi).\tag{6}$$ The explicit solution can be found by separation of variables and then integration: $$\chi~\stackrel{(6)}{=}~\frac{1}{1+e^{\mp (x-x_0)}}.\tag{7} $$ When we compare with OP's boundary conditions (BCs) $$ \chi(-\infty)~=~0, \qquad \chi(0)~=~\frac{1}{2}, \qquad \chi(\infty)~=~1, \tag{8}$$ we get the unique solution $$\chi~\stackrel{(7)+(8)}{=}~\frac{1}{1+e^{-x}}. \tag{9}$$
The Bogomol'nyi-Prasad-Sommerfield (BPS) bound $$ F[\chi]~\stackrel{(1)+(2)+(3)}{=}~\int_{\mathbb{R}}\!\mathrm{d}x~\underbrace{(\chi^{\prime}\mp W^{\prime})^2}_{\geq 0} \pm 2\underbrace{[W(\chi(x))]_{x=-\infty}^{x=\infty}}_{=1/6} \tag{10} $$ shows that the solution (6) minimizes the Lagrangian (1) with the given BCs (8).
--
$^1$ The unusual plus sign in front of the potential $V$ is related to the fact that $x$ is a space coordinate rather than a time coordinate. This is strictly speaking a static model with no time. That being said, it is often helpful to think of $x$ as time and with the potential being $-V$. In this analogy $\chi^{\prime 2} - V$ is the energy, cf. eq. (5).