i just bought a house with two of these motors

one of them worked for a few days and now will only buzz when i try to open the door

any help would be great