If you want the tenant to remain in the property you state this in the contract.
If you have signed a contract to the contrary you will need to amend the contract however you should confirm that notice has not been given as the tenant may already have made other arrangements.
Regards
Andrew