Here are some examples:
* "The terms and conditions herein shall govern the use of this website." This means the terms and conditions that are stated in this document will apply to the website.
* "The witness statement herein provided is accurate and truthful." This means the witness statement that's included in this document is true.
While "herein" is still used in formal contexts, it's not common in everyday language. You can often replace it with simpler words like "in this document" or "in this case" without changing the meaning.