Restraining order in spain

He soain ladies I had an argument with the husband witch leaded me to the police cause I was scared husband spent half night at the prison and I didn't press any charges but the just sentence said restraining order for 16 months 500 m I want to ba back to my husband how can i cancel it or remove it help please