Click the first corner and AutoCAD will prompt you for the second one. Enter the dimensions separated by a comma -don't press enter after the first one!
Oh, if you are on AutoCAD 2k then you must enter the @ sign before. So for a 5x10 rectangle:
Start the RECTANGLE command
click the first corner (or enter the coords)