You're a wizard harry! To use the spells right click the book and press T to use it and for spell wheel press Y.