is it ouch! it hurts! or Ouch! It hurt!
When you say "Ouch!" you are probably STILL experiencing the pain. So you should use the present: It hurts!!! (It hurt = the past. You would tell your friend, "It really hurt yesterday!" Of course, you would not use "Ouch" to describe yesterday's pain.)
Have a nice day!