Thanks for reaching out Supersayian0011,
It sounds like you're having some trouble with your Predictive Text. We can help.
Let's start by having you Restart your iPhone. While a simple step, a restart can resolve many intermittent issues. If the behavior continues, let's go into Settings and toggle Predictive Text off, and then back on.
If you're still having trouble after that, you can connect with Apple directly to report the behavior using either Get Support or if you're in a region without direct support options, you can also Contact Apple for support and service.
Hope that helps.
Take care.