The well-known purple pill, generally referred to as Viagra, is a medication used to manage erectile dysfunction . Developed originally by the company , this treatment mainly works by boosting circulation to the private parts, helping men to attain and keep a firm erection for intimate activity .