How to find out gender sooner?

I’m 8 weeks 3 days and was wondering if I could ask my doctor for like a blood test or something to find out the gender? Or do I wait until an early scan 15 weeks? Just wondering if it was an option