My hands hurt from carpal tunnel really bad, how can I help the pain or the inflammation?

Seek a consult. Meet with a physician to discuss the diagnosis, precipitating activities, workplace modifications, splints, medications, possible injections, and/or surgery.
Try a splint. Conservative treatments such as night splints and anti-inflammatories can help to ease the pain associated with carpal tunnel syndrome. It is advisable, however, to seek the advice of an orthopaedic or hand surgeon to confirm the diagnosis and the severity of the condition.
Something else. Carpal tunnel syndrome typically causes numbness and tingling in the fingers it can occasionally cause pain. More common causes of pain include arthritis and tendinitis. See a hand surgeon for evaluation and appropriate treatment.