Use 2 nets. Get a 5-6 inch net and an 8-12 inch net (depending on tank size). If it's a small tank then use two x 5-6 inch nets.
Set the bigger net against the front glass and use the smaller net to slowly guide the fish to the bigger net. Then lift them out.