Almost 10 weeks pregnant I can't sleep at night

Hi can anyone please tell me if it's normal to have insomnia at almost 10 weeks. I can't sleep at night and when I do it's usually only 2-3 hours. I don't sleep to much during the day I just don't know what to do it's so frustrating. I hope it doesn't affect my baby.