This depends on the type. Submersible heaters are supposed to be placed inside the tank while hanging, and in-line heaters go outside the tank. Placing your aquarium heater near a filter inlet/outlet or a circulation pump is advised to ensure the heat is distributed equally. Also, make sure to find heaters that are the right size for your aquarium. The tube of your heater should match your tank’s height.