joining squares

what is the best way to join squares so they do not come apart? I plan on doing a baby blanket. thanks, have a great day!