I’ve taken medicine with me all over the world. I take a pill for allergies, and I have over the counter pain relief in my travel bag. I’ve never had a problem, although of course carrying medicine can run afoul of local laws. Not everything that’s legal in the United States is legal elsewhere.
The United Arab Emirates though has a new requirement that you submit the medications you’llbe bringing into the country for approval in advance.