How to perform Tahajjud prayer???

i prayed tahajjud between 2:30-3:00 am is that ok? sheri starts at about 3:30/4:00...