Do I have a legal right to self publish previously contracted stories?

I wrote three short stories that were individually contract signed by a British publishing house. They have never been published. Can I self publish the three short stories into one book called a trilogy?