The worm was long and it was in the spine of the fish,i pulled it out of its spine by the left out tip.
Sounds like a tapeworm. Tapeworms will settle around the backbone of the host fish. Researchers differ on the question of whether fish tapeworms can infect humans.
There are different ways of preparing
peste marinat [lit. "marinated fish"; http://www.retro-housewife.com/peste-marinat-recipe.html]; some involve long cooking, and some don't. The ones that don't, won't effectively kill parasites.
If parasites in fish is a life-and-death concern to you, you need to not eat fish that you do not know was either:
* Thoroughly cooked (to 60 Celsius all the way through), or
* Deep frozen (to -20 Celsius all the way through).
This may have the consequence of eliminating a lot of tasty things from your diet. If you want to take the chance anyway, fish parasites only rarely infect humans, and when they do, they hardly ever cause chronic illness.