How was their life,was it hard work or were they free to do what they wanted? How did someone become Knight or some highly ranked person?
Hi there! You might want to narrow down your question a bit, cause it's very very broad. The life of a knight in Medieval Europe, for example, will not be the same as the life of a Medieval Chinese farmer even though they're both in the Medieval period, and there isn't really a catch-all answer to your question as it is. Identifying the region and type of person you're interested in learning about will help a lot in getting an answer.
To start, check out the FAQ section on the Middle Ages, as well as these previous threads:
Were peasants happy? by /u/eternalkerri, for a summary of a peasant's daily life
How much free time did an average person in the middle ages have and how die he/she spend it? by /u/Whoosier