Not much information to go by in your post, so we'll have to come back with some questions:
- Do you get any error messages?
- Is sound gone from all applications, like music player, flash websites, system sounds?
- Have you tried adjusting the sound mixer?
- Is it totally random, or is there any pattern involved?
- Have you tried keeping some background music going, so you can notice exactly when sound disappears?