If it works fine at the shop and not at your house I would be looking at the
power. Is your sewing machine on the same circuit as other appliances?
Or it could just be your foot pedal that's worn out.
I'd make sure the power is ok before buying another machine.