Neither one is "better" than the other. They're completely different genre.
Star Trek is science fiction.
Star Wars is science fantasy.
The original Star Trek was poorly written, poorly cast and acted, and the sets were laughable...but it was fucking great...at the time.
The first Star Wars movies had some of the same failings...but were also great.
The newer movies contain so much "digital manipulation," they can make a dog turd LOOK like a solid gold android that walks and talks. Is that "better?" Not necessary, but it often makes the movie look better.