So, the good news is that lots of
native English speakers don't know how to pronounce things either. Of course I know how to say all the words I speak frequently and hear others using - but if I use a word I haven't heard there's a risk I'll say it wrong. You just learn not to worry about it (the biggest problem really is when you unconsciously try to correct somebody else and realise you've got not basis for your assumed pronunciation).
For example I'd seen adenovirus written down, but never heard it said out loud, I was describing the vaccine I'd had to friends, one of whom works in medicine (a doctor, but not of medicine) and she corrected my pronunciation because she's used that word plenty of times so she (presumably) knows how to say it correctly.
Even for a completely native immersed speaker, there's just no clue in English how to correctly say a completely new word you've only seen written down, so you're at no disadvantage there. For "real" words there may be an etymological clue, but those aren't reliable. In fiction it's anything goes. Hearing fictional words I've read pronounced out loud in movies is as weird for me as seeing the (inevitable) transformation of a woman described as plain in the books into a beautiful Holywood actress...
It's obviously a bigger problem with some common English words - either where they are actually two separate words with different pronunciations but the same spelling, or worse, one word but with different stress patterns. But once you've got a fair-sized vocab the new words you're learning won't have that sort of weirdness.
It's definitely true that if you're not confident pronunciation can really be an obstacle, fortunately the huge vocab helps again - a (non-English native but UK citizen) friend of mine will carefully choose to talk about liking the "seaside" never the "beach" because she's concerned she'll manage to make people think she said "bitch". She has a few other words like that, in each case English provides convenient alternatives.