Many meds are safe
Its good to check with your doctor before starting medications, even those that are over the counter or herbal.
Having said this most medications are safe in most pregnancies. Particularly topical medications, such as throat sprays should be safe, as very little is absorbed. Some medications should be avoided including Ibuprofen
during 3rd trimester. Check with your OB for a more complete list.