Terms and Conditions, Where to place and how to acquire?

Currently creating a fitness app and I am wondering how developers approach acquiring the legal documents so the developer is protected against any possible lawsuits and other legalities that I would not be too educated on.

Thank you!
-Elliott