can someone give me a hint on what kind of theorem/definition I should make use of to solve this?
Let $(\Omega,\mathfrak A, \mu)$ be a measure space and $f:\Omega \to \mathbb R$ a non-negative measurable function. Show that $$\int_\Omega f d\mu = 0 $$ if and only if $$f(x)=0$$ a.e.
One side:
Let it be that the nonnegative $f$ is not $0$ a.e.
That means exactly that a measurable set $A$ exists with $\mu A>0$ and $f(a)>0$ for $a\in A$.
Defining $A_n:=\{a\in A\mid f(a)\geq\frac1{n}\}$ we have $A=\bigcup_{n=1}^{\infty} A_n$ and consequently $\mu A_n>0$ for $n$ large enough (since $\mu A_n\to\mu A$ in this situation).
Then $f\geq\frac1n1_{A_n}$ leads to $\int fd\mu\geq\int\frac1{n}1_{A_n}d\mu=\frac1{n}\mu A_n>0$.
Other side:
If $f=0$ a.e. then for every stepfunction (i.e. measurable function taking only finite nonnegative values) $g=\sum_{i=1}^n c_n1_{B_n}\leq f$ we will have have $\mu B_i=0$ for $i=1,\dots,n$ and consequently $\int gd\mu=0$.
By definition $\int fd\mu$ is the supremum of such values $\int gd\mu$ so evidently $\int fd\mu=0$