I heard from an instructor once that tobacco, caffeine, and aspirin were the only drugs you could take and go flying immediately afterwords...
Then claritin came around and offered no side effects at all, but I'm not sure if thats allowed...
The safe way is to not take anything...Wait till your not sick, cause any illness, no matter how small it is here on the ground will get worse as you climb