Both these words mean "nothing"

But is there a certain way you're meant to use each one? I heard that "ничего" is used mainly in the genitive case or something like that? Also could anyone give examples?

Thanks