Foreword is a noun meaning "introductory statement at the beginning of a book or other work."
The department chairman was asked to write a foreword for the professor's book.
Forward is an adjective or adverb meaning "at or toward the front."
Move the lever to the forward position on the panel, [adjective] Turn the dial until the needle begins to move forward, [adverb]