How do I install Frigidaire GASKET - 154576501

I have a FDB1050REQ2 by Frigidaire. Water was leaking out of the bottom and when I took apart the door the bottom Gasket looked to be loose. I was easily able to take it out. How do I install a new one once I order it from you and should that fix the leak?