First thing's first, you'll have to be at least Adventure Rank 10 to redeem any codes, so if you're a new player who wants the free stuff, make sure you've hit that. Either way, you can't redeem these in-game so you'll have to head over to HoYoverse's website to redeem your Genshin codes: