When to know the gender!

So this is my first pregnancy and I really want to have my gender reveal in June. But I won’t find out the sex of the baby till July. Is there other ways to find out sooner?