If the package is already installed, you will see:
$ rpm -ivh foo-1.0-1.i386.rpm foo package foo-1.0-1 is already installed error: foo-1.0-1.i386.rpm cannot be installed
If you really want to install the package anyway, you can use -replacepkgs on the command line, which tells RPM to ignore the error.