The easiest way is to look through old family records or search for documents related to the professions of your ancestors.
In many church records or registry office documents the professions of the respective ancestors are indicated. That means, you have to search these parish or civil records.
Then there is the possibility to search in archives for house books, wills, court files, farm files, craftsmen's rolls, ship registers or other helpful materials.