How do guys behave after a break up?

Is it OK to tell someone you like them over text?