On moving from left to right in a period, the atomic size decreases. More and more electrons are added to same shell. The attraction between nucleus and valence electrons increases with increase in the atomic number.
On moving down the group, from top to bottom, the atomic size increases. This is because with increase in the atomic number, extra shells of electrons are added.