Overheating issues on 1997 Hyundai Tiburon

I replaced the thermostat and relay for the radiator. Is it the temp sender or sensor. Niether upper or lower radiator hoses are tranfering heat like they shoould be?

Asked by for the 1997 Hyundai Tiburon
When does the overheating occur? Could be a cooling fan issue?