I am just starting to learn German, but I have come across the adverb "fertig" which means to finish, and I have noticed that it is always accompanied by the preposition "mit". Is that a rule in the German language or this is an exception in the piece which I am reading which is:
Gerade als das kleine Schweinchen mit dem Hausbau fertig war und Blumen auf seinen schweren Holztisch stellte