When we feel pain, we say
¡Ay!
¡Cómo me duele!
In this case people ask us
¿Estás bien? – Are yoiu Ok?
¿Te has hecho daño? – Have you hurt yourself?
If nothing serious is happened, we say
Estoy bien – I am Ok
No es nada – It´s nothing
When we feel pain people say us
¡Pobrecito! – Poor thing (masculine)!
¡Pobrecita! – Porr thing (femenine)!