It sounds like pretty classic patellofemoral pain syndrome... especially if the pain you feel is right behind the kneecap when you are going on stairs.. Best bet is to go to your doc and get a prescription for physical therapy, since theres a bunch of things that could be causing it; and if you must ride for now, keep it in a pain free position not to inflame it any more..