no reverse

I have an 08 ford focus i got hit on the driver door . i drove it after we replaced the doors . it worked for a few days then reverse went out . about two weeks later he went back out there and the car started and went in reverse and worked i need help what could it be