I don't see any abnormal in your case. After masturbation, one may not feel aroused as the sexual energy is low. Resulting is that there lack of desire for masturbation and hence erections may not happens. For Erection to occur one has to be sexually aroused.
Next Steps
For more information regarding this problem you can ask a detailed query here on practo.
Health Tips
It is normal.