installation trouble

i tried to install ubuntu with the regular disk and it started doing the ok thing and then froze and went to a black screen with a blinking cursor... so i tried the alternate cd... worked for a while and then when it was loading the installer components from the cd it failed... what do i do now?????