A red, painful eye like yours needs an in-person look from an eye specialist, since a few different things can cause this.
Next Steps
Please see an ophthalmologist soon and mention you're 17 weeks
pregnant so they choose drops that are safe for you.
Health Tips
A cold compress is fine to use for now, but please don't start any eye drops on your own before being examined.