welcome to healthcaremagic
you should not be straining alot because you will develop piles and already one of the symptoms is anal pain
to reduce the soreness sit in warm salty water for 15 to 30mins it will help.
the feeling of passing stool and nothing coming out can be brought about if you have gas filled in the stomach which can be due to hyperacidity
you need to be investigated if you are constipated or we are dealing with something else.
would suggest see a specialist to do a workup on you and then do the necessary treatment,
hope to have answered your query