Blockchain Mining algorithm

I am planning to make my own bitcoin miner. I have written code for hashing algorithm. I need help to decide what should be my next step?