Ovulation

Betty
I had a positive opk test yesterday. Could I still have sex tonight and get pregnant? I'm not really sure how long after the LH surge I ovulate and how long it last!?