My soundcard randomly stops working after rebooting

Every so often I lose my sound after a reboot and it sometimes takes 3 reboots to get it back.
is there any way to fix this?