Most likely you have the problem of piles. this problem specifically more happens during and after pregnancy.
Next Steps
You need to avoid constipation at any cost. Drink plenty of water, at least 3.5 to 4 litres of water a day, take fibre rich diet, green leafy vegetables in diet.
Yes, you can take syrup looz.
It is recommended that you get yourself checked by a surgeon.
Health Tips
Avoid straining during defecation.