Qadar is the belief that Allah knows all things, has written all that will occur, and that nothing happens outside His will. At the same time, human beings are given real choice and are accountable for it — the Quran affirms both Allah's decree and human responsibility.
References
Informational, not a personal fatwa. Consult a qualified scholar for rulings on your situation.