In an optimal manner.
From optimal + -ly.
Practice speaking and memorizing "optimally" and many other words and sentences in English.