Reading a book for an essay and citing it as you go

How to read a monograph, edited collection or textbook chapter for an essay, keep notes with page numbers, and cite it right first time in APA 7 and Harvard.