Hemorrhoids(piles) are unlikely to be painful unless there is an acute blood clot. You may be having a fissure( a break in the anal mucosa) as well. Fissures can be treated with ointments and medicines. Most hemorrhoids can be treated with injection sclerotherapy or rubber band ligation both painless and outpatient procedures. Only advanced hemorrhoids require surgery
Next Steps
Sitting in a basin of warm water for 15 minutes twice a day. plenty of oral fluids ( 10 glasses a day) and adequate fiber intake( fruits vegetables or over the counter fiber supplements like isabgol). Indian Closet is ideal. if using a European closet , use a small stool to put your leg up so that the angle between your trunk and thighs is around d 35 degrees, ie hip flexed like you are sitting on an Indian closet.