It may be a localised infection.
Thanks for providing more information.
Burning sensation near the tip of penis may be associated with urethritis
Investigations as mentioned before will help to confirm the diagnosis.
Other possible diagnosis can be some localised infection of the soft tissue
of the tip of the penile shaft.
Sometimes XXXXXXX symptoms of UTI develop late. So it cannot be ruled out.
You may need an antibiotic and an anti inflammatory. I think you should first get investigated especially the urine examination.
Maintain local hygiene. Drink lots of water daily. This will help in limiting infection, if present.
Also take care that your undergarments are not very tight.
I hope this answers your query.
If you have any further doubts, please mention.