1 year old has lazy eye condition

It just came all of a sudden she uses glasses now but still one of her eyes might need surgery. I have it too I’m 21 and use glasses. Some say she might need surgery maybe on both eyes. If the glasses don’t work for her she might need to use a patch. Does anyone of you experienced this.