depends one what program you're using. Most have a line took you just need to find. You should be able to select different types of line, a regular line will get rid of the arrow on the end.
One way to draw a straight line using a freehand tool, click and draw a dot. Let go then move your cursor where you want the line to end, press shift then click.