Gender of baby?

Lucia • Luciaa💏
Around what weeks do you get to see baby's gender on ultrasound. And can you find out through blood test any sooner? If yes then around what weeks and is it safe and accurate. This is my baby #2 and I'm just way too excited. I'm barely 9w 5d