LEGAL DOCUMENT or CONTRACT FOR RE INVESTOR

Should anyone have a legal document/ contract or where to purchase one.
goal is to draw up agreement on my condo in california. not sure of terminology but we would have 50/50 ownership.

thank you.