It is better to put a gate at the top of stairs for safety purposes. This helps prevent accidents and keeps young children from accessing the stairs unsupervised. A gate at the top acts as a barrier, reducing the risk of falls and injuries.