if its a human heatpad, it can go under. If its one of those reptile or under tank heatpads any side would be the best. I have a human heatpad under on high, It doesnt raise the temp inside at all but it keeps the bottom nice and warm for them.
Also like Brieana, Always put em outside.