The quadriceps, the large muscles at the front of the thighs, do all the work when climbing stairs. You might consider doing some regular exercises to strengthen those muscles.
You probably have a lot of pain in your thighs after exercising because your muscles are being stretched. Try taking the stairs more often and it should get easier for you.