Correct option is A
The correct answer is "with," which is the appropriate preposition to use when indicating the instrument or means by which something is done. In this case, "with a pen" correctly indicates that a pen is the instrument used for writing.