I want to know how to confess my sins to Allah and seek forgiveness from Him. Please guide me.

Be in the state of wudhu and try to read isteghfar as much as possible. Read dua e Tauba from Saheefa e Kamila.