Read books similar to what you plan to write so you have an idea of how the writer communicated the subject matter. You could likely do better. Read about the publishing industry. Learn how it functions. Read publishing law books.
Publishing contracts are complex and intimidating to the new writer.
Be prepared so you can act quickly if a publisher decides to publish your book. Publishers will not wait long for you to evaluate the contract due to ever changing market conditions. You could lose a publishing opportunity by not being prepared. Purchase The Writer's Market published by Writer's Digest. This book lists publishers and agents.