I hope very much that you did not tear your tendon. Go see a doctor immediately. He will be able to tell you what's up. An early diagnosis also makes it more likely that it can be healed without surgery, even if it's a (partial) tear. But let's hope that it's not torn at all. It's not good to go through this.