If InfoPath 2007 is also installed locally, just go to Control Panel and repair the installation.
If you are trying to open from the browser, the fact that you have InfoPath 2003 installed makes no difference. It's probably because the SharePoint site isn't configured to open in the browser, or there is something in the form preventing it from running.