Water tight seal?

How do I prevent this?

Mud and water gets in so easily!
After I go through anything over a foot either water is going down the intake or the wiring is getting wet but it starts to bog down a little until it’s cleared. A slight loss of power basically right after. And if I stop to shut it off soon after, it doesn’t want to start so smoothly.
Can am did a real poor job on the area even though I’m a total fan. I was thinking about duct taping the shit out of the inside and anywhere around I can. What do you guys think about my fix and or problem?
Thanks for reading

Sent from my SM-N910V using Tapatalk