Dobot Error when Controlled by Arduino


Hi! I have a problem with Dobot Arduino Communication.
I controlled the Dobot with the Arduino Mega2560 communication(rx, tx).
It works normally. But over time, both Arduino and Dobots stop together.
Arduino Mega stopped completely.
When I reset the Arduino Mega board, it works normally again. but, problems occur repeatedly.
I think the Dobbot sends Arduino Mega a wrong order or message.
How can I fix this?