We are sorry to hear of your miscarriage.
Safety is an important concern in halacha, so in a case of danger there may be room to permit immersion during the daytime on the 8th day. However, a better solution would be to immerse either at sundown (as opposed to after nightfall), or very early the next morning shortly before sunrise of the 8th day. Both of these options are preferable to immersing during the
daytime. If neither of these is possible, you may immerse during the daytime of the 8th day. You should wear a loose robe as you enter the water to keep yourself covered.
You will need to find an area on the beach that is reasonably private without being unsafe. See our article on immersion in a
natural body of water for more guidelines and tips.
Please feel free to get back to us with any further questions.
B’Hatzlacha!