Think of it this way, the rows that go left to right are like sentences which have...periods! The vertical columns are called groups. If it is not a period it must be a group. This helps you remember that's all. Read your book.
Horizontal Row On Periodic Table
This Site Might Help You.
Horizontal rows in the periodic table?
are also called periods. verticle ones are families.