If you tried to install Ubuntu and after the install, you boot the computer and it just boots windows that usually means you did not install the Ubuntu bootloader properly.
More information which would be helpful:
How many operating systems do you have?
Which version of windows?
What hardware do you have on the computer? Is it fairly new?
Did you get any specific errors during the Ubuntu install?