Autopilot A320 neox loses course

After you have the route programmed into the MCDU, you should step through the route and look for discontinuities. These can be cleared using the CLR button. This is how it is IRL. There are lots of instructional vids on the Web
.