Very carefully, paying attention to the smallest details.
He was a painter who painted painstakingly.
This word is made up of two words: 'pains' and 'taking', plus the suffix -ly!