Second (and most importantly), anything that was previously typed in the footer or header will be deleted. First, Word adds an unnecessary, extra hard return after the page number, which you’re going to have to delete. While the first method may seem easier, there are significant problems with it. Both options are available from the Insert ribbon > Page Number button or the Header/Footer Tools ribbon > Page Number button.
There are two ways to add page numbers: 1) adding it to the top or bottom of the page, or 2) inserting it in the current position.