Relationship and sex

How long does it take to know if you’re ready to have sex ? Like I feel like society is always like do it when ur ready and when blah blah blah .. but like the more I hear that the more it makes me doubt myself and it’s like I have a wall blocking me ....