Before a stress test, you’ll need to avoid food, drink, tobacco, and caffeine for a time. You may also have to stop taking some medications. Your doctor will provide information specific to you, but ...