before graduation you can apply either of them, what ever you want. but if you do not use opt now, it will be better for you.(you can save it for future). but i do not think you still have enough time to apply cpt since you only have few months left, if you decide to graduate in Aug.