Putting knitted squares together

hi i am trying to knit an afghan and i don’t know how to put the knitted squares together can you help and what do they call that diane

Depends on the edges of the squares…but I’d guess mattress stitch would work well. Amy has a video here and there’s also a great article with pictures here.