My thoughts are you want to learn about pot odds
It will answer all these questions and more.
In summary - you have the worst position, but can get in cheaply (i.e. good pot odds). You have to balance those two. Generally calling as you have described is fine, but only if there is no raise. Also you're going to have to be able to play well on the flop.