I would also advise you read up more on basic contract agreements.
When I started I found Nolo's book on "Consultant & Independent Contractor Agreements" very useful. Archive.org has 5 copies at https://archive.org/search.php?query=nolo+Consultant+Agreeme... .