A psychiatrist can prescribe certain medications like selective serotonin reuptake inhibitors (SSRIs) to help manage OCD symptoms by affecting brain chemistry.