You and any staff working with animals must read, understand and have access to the welfare code of practice for pigs. The statutory welfare codes offer guidance for farmers on existing law. If you don’t follow them it can be used as evidence in court if you’re prosecuted for causing unnecessary suffering to livestock.
Also see ‘Caring for pigs’ which provides additional links to relevant laws. It also explains your general responsibilities to farm animals.