It might be inflammation of his urethra but he also might have some kind of bacterial infection. Get a doctor to look at him.
I'm confused, do you both have it or just one of you?
Either way, it sounds like a yeast infection. You can ask your pharmacist for treatment or see your doctor. The one who has it will need treatment, but the partner will also need it as well, because it can be passed back and forth.
Try refrain from sex until it is cleared, otherwise, you'll both just keep passing it.