You both were sinful for being in contact with each other before marriage and you both must repent and ask Allah for forgiveness for that.
That you were married to your cousin without your consent, must be looked into by your local Imam or Islamic Judge, as, generally speaking, nikah without the permission of the woman is not valid and if it was done against her will. However, if your cousin is a descent person, I highly recommend that you continue with him and forget all your past and start a new chapter in your life.