Hard to say with so little information but it sounds like the bridge has broken or come apart. If it was my bass I would probably take it to a tech if possible, if not I would research it online until I felt I had a good grasp of the problem and try to fix it myself.
You can find pretty much any bass part you can think of online and have it delivered to your door. If the wood is damaged to the point that it wont play you need professional help.
Sorry I could not be of more help. Post some pics or more information and I'm sure some of the sharp dudes around here can help.
Bass - Vocals - Songwriter of Energy Slave
Fuzzrocious club #188