Bilal, welcome to the forum. There are usually unused permits available at the Visitor Center (1 mile south of Lone Pine) every day. You just walk in and ask.
The permits are made available from no-shows and people picking up permits and some of their party dropping out.
Start by reading this thread and following its links: How do I get a Whitney unused permit???