The best way to prevent spam in the comments of your posts is to use the Akismet plugin that comes with the PixelPost installation.
Akismet was originally developed to work with WordPress. Therefore, in order to activate it, you have to create an account in WordPress.org and to obtain the API key for it. We strongly recommend you to check these instructions for Akismet. Note that this is a free plugin for non-profit websites.