"Exorcise" refers to the act of driving out an evil spirit, while "exercise" means to put into practice or to use.
To use the correct word in your example, you would say: "To exercise an agreement". This means to put the agreement into practice or to use it.