How to build a arduino with accurate rtc?

Have you read the layout recommendations in the DS3231 datasheet?