Usually Hemorrhoids are painless unless they're blocked. You may be having an Anal fissure with sentinel pile. The cause for this is passing hard stools, which should be avoided. You need to get examined by a Surgeon to confirm it.
Next Steps
consult a surgeon for further advise
Health Tips
High fibre diet
Drink lots of water
Avoid nonveg, maida, deep fried foods