Mongenot Tomas, Médecin généraliste à Montbéliard