Needing advice

I was assaulted by a close friend of mine. I have cut contact but I realize I am now pregnant. I have not had sex in a very long time so I know it was from the assault. I don’t know if I need to inform him what has happened? I don’t want anything from him and regardless of his opinion will be going through with a medical procedure to rid me of the pregnancy but do I need to tell him? Also I’ve been informed a vaginal ultrasound needs to be completed to have the medical procedure done and due to the trauma of the assault I am really uncomfortable with something so personal happening. I’m having full melt downs from the fear of my upcoming exam. Any advice would be amazing. Are there ways around the exam? Something I can due to relieve the stress? I’m still fairly young and this is all really new and scary for me