Love is not painful. It's the lack of love that hurts! To love and be loved in return is to experience joy!
If loving someone brings you pain it's because you are with the wrong person. Each of us selects our own friends, lovers, and spouse.
Hopefully with time comes wisdom and we become better at choosing people we open our hearts to.