Thanks for posting your query.
According to your description it seems like olecranon bursitis
. It is a condition characterised by pain, redness
and swelling around the olecranon, caused by inflammation of the elbow's bursa.
It commonly occurs due to repeated minor injuries, such as repeated leaning on the point of the elbow on a hard surface.
I suggest you to consult an orthopaedician nearby for a detailed examination and treatment plan according to that.
Dr Saurabh Gupta