Watching porn or Masturbation or flirting is not wrong and nothing to be guilty of.
If this behavior affects your day today life or affects your routine life or creates unreasonable expectations in your sex life, then it is real problem. Understand that Porn is carefully, edited, scripted like a drama. Drama it is.
Next Steps
Consult a psychiatrist if habit goes out of hand.