French is a really difficult language to learn and to write, even for many french,swiss and belgian people for a simple reason, we have so many rules that have exception.
The best way to for your prononciation is to practice it with people and to read out loud.
don't be ashamed to make mistakes, it's really common in french to make some.
I hope i helps, have a great day.