Hello,
The second sentence is more grammatically correct.
"I contemplated a lot on whether or not I should tell you this."
It depends on the context. The first is ok in informal conversations. People will know what you are talking about.
Make sure you to change yoı to you.
Hope this helps.