Hello and Welcome to HCM,
Thanks for writing to us.
The painful lumps on the shin could be inflammatory swellings or related to the bursae or shin splints
. A direct examination of the area is needed for proper diagnosis. You can apply ice packs to the affected area,anti-inflammatory drug like motrin
to reduce pain and inflammation.
Hope this helps you.
Wishing you good health...
Dr Saurabh Gupta.