New to sewing....tips?

Camille

So I washed a cushion on delicate and the inside foam padding folded. I undid the seams and bought a zipper. I would like to learn how to sew it on. Any tips? I YouTube it, doesn't seem too hard..... first time for everything right?