It sounds like the level that holds the parking brake lever is stuck open so it does not hold the ratchet wheel. Here is some diagrams (below) to help you find the problem out. Please let us know if you need anything else to get the problem fixed.
Images (Click to enlarge)
Mar 15, 2021 at 9:57 AM
Repair Safety Notice: This information is for general instructional purposes only. Vehicle repair can be dangerous. Verify all information, follow manufacturer service procedures, use proper tools and safety equipment, and consult a qualified repair shop when needed.