Miscarriage

At 5 weeks during my pregnancy i almost had a miscarriage extreme heavy bleeding and went to the doctor and got it checked and now everything is okay. Im on a delicate diet. But was wondering if it’s possible since i almost had a miscarriage could it still happen?im 7 weeks now.