First, just to be extra safe, make sure there isn’t a fire.
If all is clear, try disarming your system. If you have a touch screen, look for a trouble alert and acknowledge it by pressing that symbol on your keypad.
Check the message that is displaying on your keypad. If the smoke detector has a low battery, the beeping may return until the battery is changed.