This is the problem 15 of Evans' PDE book.
That is, let $u \in H^1(\Omega) = W^{1,2}(\Omega)$, and $U = B(0,1)$ the unit ball in $\mathbb{R}^n$. Show there is a constant $C(\alpha, n)$ such that
$$ \int_U u^2 dx \le C \int_U |Du|^2 dx $$ provided that $$ |\{x \in U: u(x)=0\}|\ge \alpha. $$
You can also argue by contradiction, similarly to what it's usually done to prove the Poincaré inequality $$\int\limits_\Omega|u-u_\Omega|^p\leq C\int\limits_\Omega|Du|^p$$ using the Rellich-Kondrachov compact embedding.
Proof Suppose by contradiction there is a sequence $(u_k)\subset W^{1,2}(\Omega)$ such that $$\|Du_k\|^2_{L^2}\le \frac1k \|u_k\|^2_{L^2}\qquad (*)$$ and without loss of generality by multiplying by a constant assume $\|u_k\|_{L^2}=1$. In particular $(u_k)$ is bounded in $W^{1,2}(\Omega)$, thus a subsequence converges weakly to some $u\in W^{1,2}(\Omega)$ and by Rellich-Kondrachov $u_k\to u$ strongly in $L^2$. Moreover by $(*)$ $Du_k\to 0$ strongly in $L^2$, therefore $u$ must be constant (it would suffice $Du_k\rightharpoonup 0$ weakly in $L^2$). Indeed for any test function $\phi$ $$\int\limits_\Omega Du\,\phi=-\int\limits_\Omega u\, D\phi=\lim_{k\to\infty} -\int\limits_\Omega u_k\, D\phi=\lim_{k\to\infty}\int\limits_\Omega Du_k\,\phi=0.$$ Setting $N=\{x\in \Omega:u(x)=0\}$, we have that $|N|\ge \alpha$: indeed for every $\lambda >0$ $$\left|\left\{x:|u(x)|\ge\lambda\right\}\right|\leq \left|\left\{|u(x)-u_k(x)|>\frac{\lambda}{2}\right\}\right|+\left|\left\{|u_k(x)|>\frac{\lambda}{2}\right\}\right|$$ and the first term goes to zero as $k\to\infty$, while the second term is $\le |\Omega|-\alpha$ by hypothesis.
Now from the strong convergence in $L^2$ we infer $\|u\|_{L^2}=1$, while from the fact that $u$ is constant and vanishes on $N$ (which has positive measure) we deduce $u=0$, contradiction.
This approach has the disadvantage of not giving explicit bounds on the involved constants, but can be used to prove many different Poincaré-like inequalities when the only constant function that satisfies the "boundary" conditions (in this case $u=0$ on a positive measure set) is the zero function.