Made a mistake ..

mojen
Okay so I'm 20 years old and currently 33 weeks pregnant, my boyfriend of a year was murdered right before I even knew I was pregnant. After he died , I found out so many things he said about to his baby's mother, he had made up so many lies saying that I was a h** and that all his friends had ran trains on me and he made up so many hurtful things about me that I felt like everything was a lie. So maybe a week after his death I became so depressed and I was drinking and smoking with a best friend of his but I too knew the best friend since 9th grade of high school way before I met my bf, anyways we had sex and then about a week after I felt symptoms and I waited another week to a test  found out I was pregnant. I'm all confused because i know I will look like a bad person if it's not my boyfriends , I talked to my doctor about it and she said just take a paternity test. I just need some advice ..