Treatment for acute porphyria includes relieving symptoms. Medication may be prescribed to control pain. Treating any infections or other underlying illnesses that may have caused a porphyria attack is also important.