If your anxiety is so bad that you have a hard time sleeping you should adjust your nightly ritual accordingly.
Avoid watching things like horror films and action movies that creates negative feelings that persist once you go to bed. https://flokii.com/blogs/view/99403