I cannot bend my toes inward because my Achilles tendon hurts too much, what is the solution?

See a doctor. You need to see a doctor for an exam and treatment.
More info is needed. To receive an answer that will be more helpful for you , you need to give more information...Your health status, any problems such as gout, diabetes or blood pressure concerns.You should state how long it has been a problem and what you do to make it feel better.Also tells us what it looks like..Is it discolored, swollen or point tender.The more you tell the better the answer.