This is a detailed topic. Depends upon the strategy, the time left for expiry, option greeks, Open interest analysis among others. Study books or check options alpha portal for genuine free content. Many other youtube channels are also available. Good luck!