When I draw a rectangle or square in Inkscape my corners are rounded. How do I fix this?

Make sure the Rx and Ry values at the top of the window are at 0 when you draw your shape.