Recall:

On the y-axis, the true state of nature, and on the x-axis our decision.
Furthermore, if we reject $H_0$ in favour of $H_1$ when $T\in K$, then
$P(\text{Type I error})=P(T\in K\ | \ H_0\ \text{true})$
Moreover, the the probability of an error of Type II is:
$P(\text{Type II error})=P(T\not\in K\ | \ H_1\ \text{true})$
where $T$ is the test statistic and $K$ the critical region.
Let’s now apply these formulas to a example. Suppose a radar system needs to distinguish between the presence or absence of a target. Let $X$ be the received signal and consider the following two competing hypotheses:
Suppose that $H_0$ is rejected in favor of $H_1$ if $X>c$. $c$ is some constant (we will talk about its value later on).
We then obtain the following probabilities of Type I and Type II errors:
where $Z\sim N(0,1)$.
We see that decreasing the probability of a false alarm comes at the cost of increasing the probability of a miss and vice versa. Graphically:

How can we improve this?