You wont get holes in your stomach from taking opioids, some may upset your stomach. You can eat lightly before taking them but I assure you that even if you don't you will not get holes in your stomach.
Maybe take a lower dose or refrain from moving around too much and you'll feel better.