Does Ubuntu recognise your hardware? What does this command give you with respect to your audio device?
Have you installed the necessary firmware packages, for example "firmware-realtek"?
Have you looked at your mixer settings (alsamixer for example). You're still very vague about what exactly you have done.