what to do when u have Overpair / TPTK / 2 pair and facing re-raise or check-raise on Flush draw or straight draw board because people often raise with their draw but they still could do this with set do u continue with these hands?
It usually comes down to the opponent and their style of play.
Vs opponents who aren't too aggressive you can often fold in these spots (but not always)
Vs opponents who are very aggressive sometimes you just have to hold on and go for it. If you want to avoid this situation you can check back in these spots on turn to induce bluffs from your opponents missed hands and keep the pot smaller vs strong hands. This is always an option instead of continuing to bet.
As alucard said there are many factors you need to consider to make your play, and ultimately it is your job as the player to feel our your opponent, their style, their bet size, their timing, and their dynamic with you to figure out what the best choice is.
Practice makes perfect