For the most part, building a pergola should be fine. However, it is important you check with local building regulations and seek planning permission if you need it. If you live in a conversation area or your pergola will be further than 20 metres for your house or larger than 10 metres square, you will need to seek planning permission.