Generally, it is okay to workout when you have a cold. However, some people use over-the-counter cold remedies that have a effect on heart rate. Hence, it is important to be aware of how the drug effects your heart and plan your exercise intensities with that in mind.