A 32-year-old woman, 3 days postpartum after a normal vaginal delivery, is brought to the GP by her partner. She has become acutely confused, agitated, and is expressing beliefs that the baby has special powers. She has not slept for 2 nights. Which is the single most appropriate action?