I have this problem and I believe it is not good to call, example, you have a stright draw in the flop would call a continuation bet by open raiser? and what sizing should you call and what sizing should you fold? I've lost a lot of money calling a straight draw and 90% of the time i did not hit it. is folding the right play?
There's a few ways to look at what you can do. You can use just plain old pot
odds to see if calling is a profitable decision in the long term, best done if stacks are deep enough.
Like was already mentioned you can reraise, usually if the opponent has a large cbet frequency, and the board doesn't hit their range too well I'd go for it (though I wouldn't go all in like was mentioned unless you're short stacked)
You can use implied odds as well, but those can be very tough to estimate and depend on opponent tendencies a lot. Implied odds answer the question how much do I expect the opponent will pay me by the river given different situations.
You can also count cards that you know will make great bluffs, as outs for determining drawing odds

. Ie: scare cards that make paired boards or flush boards or an extra card to your potential straight. If you know your opponent has tendencies to be cautious on boards like that you should definitely include those in your odds. Just be mindful/careful of your opponent's ranges if you do this as those cards can strengthen their hands too.
For now I would begin by learning
pot odds and drawing odds and how you should use that to decide if you should call. Also, generally avoid calling over 66% pot size bets for draws unless you have a plan for later streets.