While you can drink hot water after taking medicine, it's generally not recommended.
According to health professionals, water at room temperature or lukewarm water is best for swallowing pills. Extremely hot or cold liquids could potentially impact the efficacy of the medication. Drinking water at the recommended temperature helps ensure the medication dissolves and is absorbed properly. While there's not a lot of research specifically proving hot water is harmful, lukewarm water is the recommended, and therefore safer, option. It is always a good idea to take your medicine with a full glass of water.