“An accurate diagnosis is necessary to treating gastroparesis, since the treatment depends on the cause. If your doctor diagnosed an underlying disease or condition that is causing the gastroparesis, the treatment will focus on correcting or reversing that condition; if there is no underlying cause or if it is not possible to treat it, then the goal of treatment is to promote gastric emptying and relieve your symptoms.
The first step is to stop taking medications that inhibit or delay gastric emptying.”
John Hopkins Medicine (https://www.hopkinsmedicine.org/health/conditions-and-diseases/gastroparesis/gastroparesis-treatment)