When can I test

India
If I had sex on the 23rd of June, and came on my period on the 24th for 4 days, could I be pregnant? I googled it and Google said I could be! When could I test? I'm desperate to know after miss carrying in Feb I just want my baby so much😩