Medication plays a crucial role in treating pyuria, which is an increase in pus cells in urine. Depending on the underlying cause, your healthcare provider may prescribe antibiotics to target and eliminate the infection. Anti-inflammatory medications may also be prescribed to reduce inflammation and alleviate symptoms.