Hello,
Welcome to ehealthforum
High fever during pregnancy can be due to various reasons as viral or bacterial infection,typhoid,UTIetc.Since you were treated for UTI and fever has again come up that means there is some other cause.Such high fever should not be ignored at all as it can be harmful for the baby.
Kindly visit your treating doctor immediately.You might require Blood tests to rule out the diagnosis.
Take Care!