Also, how can I get rid of formatting marks?
Please edit your question according to these guidelines (shorter title, detailed description). If possible, attach a screenshot.
If what you mean by ‘formatting marks’ is what I think, they only appear while you are editing your document. For example, they will not appear on printed copies, etc.
And, Yes, please edit your question as @ajlittoz has requested. Your question will get much more attention.
Turn off Track Changes. Click Edit > Track changes > Record to unhighlight it.
Accept all changes. Click Edit > Track changes > Accept all
That will have sorted out your '“formatting marks”
Where the page numbering has stopped then you have a change of page style.
Maybe it is a Landscape page or some page style that you need; in that case add a footer and the a page number field.
If you don’t need another page style, click on the page without numbering. Then at the bottom of the screen, right click on Page Style button and select the same style as the previous pages. The page will then be the same as the others.
In LO-6 most of switching format-marks on/off are achieved via the menu:View
options.