You are looking after your children just fine and the GP will see that.
You need to tell them about your anxiety and intrusive thoughts that are happening at night BEFORE they affect your daytime ability.
It’s a credit to you that you have functioned during the day at work as you are so exhausted.
Imagine your mind is a clock, during the day it is telling the time ok, sometimes running a bit slow but come the evening and night time it speeds up and the hands are whizzing round and the cogs are whirring away as they reach high speeds!
Your GP will help you to reset your mind clock so that it runs at the correct time day and night.
The last thing will be on their mind is taking your children away.
Anxiety is treatable and you may be prescribed a mild sedative for night time or an anti anxiety medication to help calm you. It might take a couple of different medications to find the right one and the right dose-age.
It might also help for you to talk about your awful experience and the worries you now suffer with but sadly most referrals for counselling often take a long while to come through.
In the mean time you can look at ways of trying to wind yourself down at bedtime. There are self help books, YouTube relaxation videos etc, have a Google and see what interests you.
Intrusive thoughts, endless worrying, anxiousness and fear and dread for loved ones are all things that can be calmed down. At the moment it’s hard to take control and stop those thoughts but once you have spoken to your doctor you have taken the first step in getting back in control.