A contract is an oral or written agreement to do or not to do a certain thing.