Thanks for the query.
The possible causes for vaginal tears are :
- Post coital tears.
-Usage of tampons or insertion of any foreign bodies.
- Wounds due to infections etc.
According to your description, the jelly like thing could be a cervical polyp
or gardener's cyst
or hardened vaginal discharge
So, once consult gynecologist and get examined.
By examination the exact cause of the problem can be identified.
Taking systemic, local antibiotics and analgesics may cure the problem.
Maintain abstinence till complete recovery.