Refusing to work by going on strike puts you in breach of your contract of employment. However, as long as your strike was called in accordance with the laws governing industrial action, you are protected from dismissal. This protection lasts for a period of 12 weeks.
Speak to your union if you need more information about this. Sometimes there is a strike fund set up by the union to be able to support members taking industrial action.