Thomas is right, if you created a second partition on your hard drive during the ubuntu installation then you'll be able to get windows 7 back, if you just straight installed ubuntu completely over 7 then you're hosed.
Hopefully your PC came with a recovery disk or partition that you can use to reinstall windows 7. If not you're hosed.