had a scare this morning

woke up to brown like discharge thought i was miscarrying so i came to the dr and they checked the baby and baby was completely fine , with a strong 157 heart beat , any guesses on boy or girl? ( they told me i was bleeding from implantation ) .. how long does that normally happen i’m 7w3d