Washer display F5 error

My washer will repeatedly display an F5 error and refuse to operate. If we manage to get it going, it will work fine for any consecutive load. However, the next time we attempt to use it even if it’s the next day the error code starts again and we struggle to get it started.