A burning sensation, with or without discharge, is suggestive of a sexually transmitted disease.
I would recommend that you see a doctor for testing for STD's.
Your urine will also be checked for a urinary infection, although that's no common in men and is less likely to be the cause of burning in the penis.
Sometimes no specific cause is found for burning, but the pain may still go away with antibiotics. Best wishes.