Basic data question

how do you remain synchronized? how do you know which byte is the first byte?