Timothy Sainsbury backs Sam Gyimah in marginal Kensington seat Source: Brexit
Both the UK and the EU need to approve and sign the withdrawal agreement. They will then start to negotiate new arrangements. There would be a transition period to prepare for new rules.
The UK could still leave with no deal if the withdrawal agreement is not approved by 31 January 2020, or at the end of a transition period.