Rasulullah (Sallallahu alaihi wasallam) used to make a number of supplications related to good character.
"O Allah, guide me to good character, none guides to a good character but You..."
"O Allah, I seek refuge in you from bad character, deeds, and desires."
"O Allah, You perfectly created me, so perfect my character."
"O Allah, I seek refuge in you from disability and laziness; from cowardice and avarice; from decrepitude and harshness; from negligence and impoverishment, from lowness and humiliation. And I seek refuge in You from poverty and disbelief; from sinfulness, disunity and hypocrisy; from notability and Riyaa (show off)..."
[Ahmad, Malik, Bazar, Haithami and ibn 'Abd al-Barr]
The following beneficial excerpt is from "The Magnificent Journey" by ibn ul Qayyim al Jawziyyah. It explains three conditions needed to acquire good manners.
Three Conditions to Acquire Excellent Manners
This is one example of the excellent manners with which Allah Ta'ala has equipped his Messenger. He described him as,
"Verily, You [Muhammad] are on an exalted standard on character."
A'ishah (radiAllahu anha), described him as, "His character was just [a reflection of] the Qur'an."
[Muslim, Abu Dawud, Ahmad]
The such excellent character cannot be attained without three conditions:
1. The foundation must be good. If one has a rough and dry nature, it will be hard for him to submit to this [excellence of character] through knowledge, will, or practice. On the other hand, a mild and smooth nature will be ready and willing to receive the plowing and the seeds [to prepare it for character excellence].
2. The soul must be strong and capable of conquering calls of laziness, transgression, and desire. Those matters contradict perfection, and souls which cannot defeat them will always be defeated and conquered.
3. [One must possess] a discerning knowledge of the truth of matters, enabling one to put them in the rightful position, and to distinguish between flash and cancer - between glass and jewels.
If these three qualities are present in a man, and Allah's facilitation helps him, then he will be among those whom the best (husna) has been decreed and for whom Allah's care has been secured.