How do i stop the buzzing action once door sensor is opened (LOW)

Can you please describe in words how the system should work ?
When should the buzzer sound and for how long, for instance ?