What can I do for this pain in my kidneys when I cough or blow my nose?

Muscle. What you describe is most likely a muscle pull in your back that is aggravated by sneezing. Ask you doctor to be sure.