Injections are given when the medication cannot be taken by mouth. Some medications, such as insulin and heparin, must be given as a subcutaneous injection.