Do you say most important or most importantly?

Most works with both adjectives and adverbs. You can say that something is most important, and you can say it most importantly.